Bagikan melalui


Connection.FromSpeechSynthesizer(SpeechSynthesizer) Method

Definition

Gets the Connection instance from the specified speech synthesizer, used for observing and managing connection and disconnection from the speech service. Added in version 1.17.0

public static Microsoft.CognitiveServices.Speech.Connection FromSpeechSynthesizer (Microsoft.CognitiveServices.Speech.SpeechSynthesizer speechSynthesizer);
static member FromSpeechSynthesizer : Microsoft.CognitiveServices.Speech.SpeechSynthesizer -> Microsoft.CognitiveServices.Speech.Connection
Public Shared Function FromSpeechSynthesizer (speechSynthesizer As SpeechSynthesizer) As Connection

Parameters

speechSynthesizer
SpeechSynthesizer

The speech synthesizer associated with the connection.

Returns

The Connection instance of the speech synthesizer.

Applies to