Share via


Extensions.EndConversation(IDialogContext, String) Method

Definition

Initiate an EndConversationEvent to reset the conversation's state and stack and send an EndOfConversation to the Connector.

public static void EndConversation (this Microsoft.Bot.Builder.Dialogs.IDialogContext context, string code);
static member EndConversation : Microsoft.Bot.Builder.Dialogs.IDialogContext * string -> unit
<Extension()>
Public Sub EndConversation (context As IDialogContext, code As String)

Parameters

context
IDialogContext
code
String

Applies to