CreateConversationOptionsBuilder.WithScope(String) Method

Definition

Sets the scope for the conversation being created.

public Microsoft.Agents.Builder.App.Proactive.CreateConversationOptionsBuilder WithScope(string scope);
member this.WithScope : string -> Microsoft.Agents.Builder.App.Proactive.CreateConversationOptionsBuilder
Public Function WithScope (scope As String) As CreateConversationOptionsBuilder

Parameters

scope
String

The scope value to associate with the conversation. If null the default Azure Bot Service scope is used.

Returns

The current CreateConversationOptionsBuilder instance with the updated scope.

Remarks

Use this method to specify a custom scope for the conversation. This does not normally need to be set for Azure Bot Channels.

Applies to