Share via


EventFactory.CreateHandoffStatus(ConversationAccount, String, String) Method

Definition

Create handoff status event.

public static Microsoft.Bot.Schema.IEventActivity CreateHandoffStatus (Microsoft.Bot.Schema.ConversationAccount conversation, string state, string message = default);
static member CreateHandoffStatus : Microsoft.Bot.Schema.ConversationAccount * string * string -> Microsoft.Bot.Schema.IEventActivity
Public Shared Function CreateHandoffStatus (conversation As ConversationAccount, state As String, Optional message As String = Nothing) As IEventActivity

Parameters

conversation
ConversationAccount

Conversation being handed over.

state
String

State, possible values are: "accepted", "failed", "completed".

message
String

Additional message for failed handoff.

Returns

handoff event.

Applies to