BotFrameworkConfig.FromSubscription Method

Definition

Overloads

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.

FromSubscription(String, String)

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

public static Microsoft.CognitiveServices.Speech.Dialog.BotFrameworkConfig FromSubscription (string subscription, string region);
static member FromSubscription : string * string -> Microsoft.CognitiveServices.Speech.Dialog.BotFrameworkConfig
Public Shared Function FromSubscription (subscription As String, region As String) As BotFrameworkConfig

Parameters

subscription
String

Subscription key associated with the bot

region
String

Region identifier for the subscription key associated with the bot.

Returns

A new bot framework config.

Applies to

FromSubscription(String, String, String)

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

public static Microsoft.CognitiveServices.Speech.Dialog.BotFrameworkConfig FromSubscription (string subscription, string region, string botId = "");
static member FromSubscription : string * string * string -> Microsoft.CognitiveServices.Speech.Dialog.BotFrameworkConfig
Public Shared Function FromSubscription (subscription As String, region As String, Optional botId As String = "") As BotFrameworkConfig

Parameters

subscription
String

Subscription key associated with the bot

region
String

Region identifier for the subscription key associated with the bot

botId
String

The bot ID (aka bot secret) used to select a bot associated with the given subscription

Returns

A new bot framework config.

Applies to