SpeechSynthesisCancellationDetails.FromStream(AudioDataStream) Method

Definition

Creates an instance of SpeechSynthesisCancellationDetails object for the canceled AudioDataStream.

public static Microsoft.CognitiveServices.Speech.SpeechSynthesisCancellationDetails FromStream (Microsoft.CognitiveServices.Speech.AudioDataStream stream);
static member FromStream : Microsoft.CognitiveServices.Speech.AudioDataStream -> Microsoft.CognitiveServices.Speech.SpeechSynthesisCancellationDetails
Public Shared Function FromStream (stream As AudioDataStream) As SpeechSynthesisCancellationDetails

Parameters

stream
AudioDataStream

The stream that was canceled

Returns

The CancellationDetails object being created.

Applies to