Share via


EventFactory.CreateHandoffInitiation(ITurnContext, Object, Transcript) Method

Definition

Create handoff initiation event.

public static Microsoft.Bot.Schema.IEventActivity CreateHandoffInitiation (Microsoft.Bot.Builder.ITurnContext turnContext, object handoffContext, Microsoft.Bot.Schema.Transcript transcript = default);
static member CreateHandoffInitiation : Microsoft.Bot.Builder.ITurnContext * obj * Microsoft.Bot.Schema.Transcript -> Microsoft.Bot.Schema.IEventActivity
Public Shared Function CreateHandoffInitiation (turnContext As ITurnContext, handoffContext As Object, Optional transcript As Transcript = Nothing) As IEventActivity

Parameters

turnContext
ITurnContext

turn context.

handoffContext
Object

agent hub-specific context.

transcript
Transcript

transcript of the conversation.

Returns

handoff event.

Applies to