Share via


CloudAdapterBase.ProcessProactiveAsync Method

Definition

The implementation for continue conversation.

protected System.Threading.Tasks.Task ProcessProactiveAsync (System.Security.Claims.ClaimsIdentity claimsIdentity, Microsoft.Bot.Schema.Activity continuationActivity, string audience, Microsoft.Bot.Builder.BotCallbackHandler callback, System.Threading.CancellationToken cancellationToken);
member this.ProcessProactiveAsync : System.Security.Claims.ClaimsIdentity * Microsoft.Bot.Schema.Activity * string * Microsoft.Bot.Builder.BotCallbackHandler * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Function ProcessProactiveAsync (claimsIdentity As ClaimsIdentity, continuationActivity As Activity, audience As String, callback As BotCallbackHandler, cancellationToken As CancellationToken) As Task

Parameters

claimsIdentity
ClaimsIdentity

A ClaimsIdentity for the conversation.

continuationActivity
Activity

The continuation Activity used to create the ITurnContext.

audience
String

The audience for the call.

callback
BotCallbackHandler

The method to call for the resulting bot turn.

cancellationToken
CancellationToken

Cancellation token.

Returns

A task that represents the work queued to execute.

Applies to