MicrosoftBotIdentifier Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of MicrosoftBotIdentifier.
public MicrosoftBotIdentifier (string botId, bool isResourceAccountConfigured = true, Azure.Communication.CommunicationCloudEnvironment? cloud = default);
new Azure.Communication.MicrosoftBotIdentifier : string * bool * Nullable<Azure.Communication.CommunicationCloudEnvironment> -> Azure.Communication.MicrosoftBotIdentifier
Public Sub New (botId As String, Optional isResourceAccountConfigured As Boolean = true, Optional cloud As Nullable(Of CommunicationCloudEnvironment) = Nothing)
Parameters
- botId
- String
Id of the Microsoft bot. The unique Microsoft app ID for the bot as registered with the Bot Framework.
- isResourceAccountConfigured
- Boolean
Set this to true if the bot is global and resource account is configured. If not provided, the default value will be true.
The cloud that the Microsoft bot belongs to. A null value translates to the Public cloud.
Exceptions
Thrown when the botId
is null.
Thrown when the botId
is empty.
Applies to
Azure SDK for .NET