共用方式為


DialogServiceConnector Constructors

Definition

Overloads

DialogServiceConnector(DialogServiceConfig)

Creates a dialog service connector using the default microphone input for a specified dialog service configuration.

DialogServiceConnector(DialogServiceConfig, AudioConfig)

Creates a dialog service connector using the specified dialog and audio configuration.

DialogServiceConnector(DialogServiceConfig)

Creates a dialog service connector using the default microphone input for a specified dialog service configuration.

public DialogServiceConnector (Microsoft.CognitiveServices.Speech.Dialog.DialogServiceConfig config);
new Microsoft.CognitiveServices.Speech.Dialog.DialogServiceConnector : Microsoft.CognitiveServices.Speech.Dialog.DialogServiceConfig -> Microsoft.CognitiveServices.Speech.Dialog.DialogServiceConnector
Public Sub New (config As DialogServiceConfig)

Parameters

config
DialogServiceConfig

Dialog service config.

Applies to

DialogServiceConnector(DialogServiceConfig, AudioConfig)

Creates a dialog service connector using the specified dialog and audio configuration.

public DialogServiceConnector (Microsoft.CognitiveServices.Speech.Dialog.DialogServiceConfig config, Microsoft.CognitiveServices.Speech.Audio.AudioConfig audioConfig);
new Microsoft.CognitiveServices.Speech.Dialog.DialogServiceConnector : Microsoft.CognitiveServices.Speech.Dialog.DialogServiceConfig * Microsoft.CognitiveServices.Speech.Audio.AudioConfig -> Microsoft.CognitiveServices.Speech.Dialog.DialogServiceConnector
Public Sub New (config As DialogServiceConfig, audioConfig As AudioConfig)

Parameters

config
DialogServiceConfig

Dialog service config.

audioConfig
AudioConfig

Audio config.

Applies to