BotFrameworkConfig Class

Definition

Contains configurations for the dialog service connector object for using a Bot Framework backend.

public sealed class BotFrameworkConfig : Microsoft.CognitiveServices.Speech.Dialog.DialogServiceConfig
type BotFrameworkConfig = class
    inherit DialogServiceConfig
Public NotInheritable Class BotFrameworkConfig
Inherits DialogServiceConfig
Inheritance
BotFrameworkConfig

Remarks

See also: Quickstart: Create a Voice Assistant with the Speech SDK in C# UWP

Properties

Language

Specifies the name of the language to be used, in BCP-47 format.

(Inherited from DialogServiceConfig)

Methods

FromAuthorizationToken(String, String, String)

Creates an instance of the bot framework config with the specified authorization token and region. Note: The caller needs to ensure that the authorization token is valid. Before the authorization token expires, the caller needs to refresh it by calling this setter with a new valid token. As configuration values are copied when creating a new recognizer, the new token value will not apply to recognizers that have already been created. For recognizers that have been created before, you need to set authorization token of the corresponding recognizer to refresh the token. Otherwise, the recognizers will encounter errors during recognition.

FromSubscription(String, String)

Creates an instance of the bot framework config with the specified subscription and region.

FromSubscription(String, String, String)

Creates an instance of the bot framework config with the specified subscription and region.

GetProperty(PropertyId)

Searches for the property named with the given PropertyId value.

(Inherited from DialogServiceConfig)
GetProperty(String)

Searches for the property based on the given string name.

(Inherited from DialogServiceConfig)
SetProperty(PropertyId, String)

Sets a property using a PropertyId value.

(Inherited from DialogServiceConfig)
SetProperty(String, String)

Sets the property by name.

(Inherited from DialogServiceConfig)
SetProxy(String, Int32)

Sets proxy configuration.

(Inherited from DialogServiceConfig)
SetProxy(String, Int32, String, String)

Sets proxy configuration.

Note: Proxy functionality is not available on macOS. This method will have no effect on the macOS platform.

(Inherited from DialogServiceConfig)
SetServiceProperty(String, String, ServicePropertyChannel)

Enables preview of new service features.

(Inherited from DialogServiceConfig)

Applies to