EventFactory.CreateHandoffStatus(ConversationAccount, String, 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.
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.