Język

EventFactory.CreateHandoffStatus(ConversationAccount, String, String) Metoda

Definicja

Stwórz zdarzenie statusu przekazania.

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

Parametry

conversation
ConversationAccount

Rozmowa przekazywana dalej.

state
String

Możliwe wartości to: "zaakceptowane", "nieudane", "ukończone".

message
String

Dodatkowa wiadomość o nieudanym przekazaniu.

Zwraca

wydarzenie przekazania.

Dotyczy