CreateConversationOptionsBuilder.WithScope(String) Method
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.
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.