SpeechSynthesisStream.ReadAsync Method

Reads data asynchronously in a sequential stream.

Syntax

public:
IAsyncOperationWithProgress<IBuffer^ , uint32>^ ReadAsync(
         IBuffer^ buffer,
         uint32 count,
         InputStreamOptions options
)  

Parameters

buffer
Type: IBuffer 

The buffer into which the asynchronous read operation places the bytes that are read.

count
Type: uint32 

  The number of bytes to read that is less than or equal to the Capacity value.

options
Type: InputStreamOptions 

Specifies the type of the asynchronous read operation.

Return value

Type: IAsyncOperationWithProgress<IBuffer^ , UInt32

An asynchronous operation that includes progress updates. For more information, see ReadAsync method.

Requirements

Namespace: Windows.Media.SpeechSynthesis

Assembly: (in )

See also

Reference

SpeechSynthesisStream Class

SpeechSynthesisStream Members

Windows.Media.SpeechSynthesis Namespace