Share via


Connection.FromDialogServiceConnector(DialogServiceConnector) Method

Definition

Gets the Connection instance from the specified dialog service connector, used for observing and managing connection and disconnection from the speech service.

public static Microsoft.CognitiveServices.Speech.Connection FromDialogServiceConnector (Microsoft.CognitiveServices.Speech.Dialog.DialogServiceConnector dialogServiceConnector);
static member FromDialogServiceConnector : Microsoft.CognitiveServices.Speech.Dialog.DialogServiceConnector -> Microsoft.CognitiveServices.Speech.Connection
Public Shared Function FromDialogServiceConnector (dialogServiceConnector As DialogServiceConnector) As Connection

Parameters

dialogServiceConnector
DialogServiceConnector

The dialog service connector associated with the connection.

Returns

The Connection instance of the dialog service connector.

Applies to