Udostępnij przez


EventFactory.CreateHandoffStatus(ConversationAccount, String, String) Metoda

Definicja

Utwórz zdarzenie stanu przekazywania.

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 jest przekazywana.

state
String

Stan, możliwe wartości to: "zaakceptowane", "niepowodzenie", "ukończone".

message
String

Dodatkowy komunikat dotyczący przekazywania nie powiodło się.

Zwraca

zdarzenie przekazywania.

Dotyczy