Delen via


CloudAdapterBase.ProcessActivityAsync Methode

Definitie

Overloads

ProcessActivityAsync(AuthenticateRequestResult, Activity, BotCallbackHandler, CancellationToken)

De implementatie voor het verwerken van een activiteit die naar deze bot is verzonden.

ProcessActivityAsync(String, Activity, BotCallbackHandler, CancellationToken)

De implementatie voor het verwerken van een activiteit die naar deze bot is verzonden.

ProcessActivityAsync(AuthenticateRequestResult, Activity, BotCallbackHandler, CancellationToken)

De implementatie voor het verwerken van een activiteit die naar deze bot is verzonden.

protected System.Threading.Tasks.Task<Microsoft.Bot.Builder.InvokeResponse> ProcessActivityAsync(Microsoft.Bot.Connector.Authentication.AuthenticateRequestResult authenticateRequestResult, Microsoft.Bot.Schema.Activity activity, Microsoft.Bot.Builder.BotCallbackHandler callback, System.Threading.CancellationToken cancellationToken);
override this.ProcessActivityAsync : Microsoft.Bot.Connector.Authentication.AuthenticateRequestResult * Microsoft.Bot.Schema.Activity * Microsoft.Bot.Builder.BotCallbackHandler * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.InvokeResponse>
Protected Function ProcessActivityAsync (authenticateRequestResult As AuthenticateRequestResult, activity As Activity, callback As BotCallbackHandler, cancellationToken As CancellationToken) As Task(Of InvokeResponse)

Parameters

authenticateRequestResult
AuthenticateRequestResult

De verificatieresultaten voor deze beurt.

activity
Activity

De Activity om te verwerken.

callback
BotCallbackHandler

De methode voor het aanroepen van de resulterende bot turn.

cancellationToken
CancellationToken

Annuleringstoken.

Retouren

Een taak die het werk vertegenwoordigt dat in de wachtrij staat om uit te voeren. Bevat de InvokeResponse als er een is.

Van toepassing op

ProcessActivityAsync(String, Activity, BotCallbackHandler, CancellationToken)

De implementatie voor het verwerken van een activiteit die naar deze bot is verzonden.

protected System.Threading.Tasks.Task<Microsoft.Bot.Builder.InvokeResponse> ProcessActivityAsync(string authHeader, Microsoft.Bot.Schema.Activity activity, Microsoft.Bot.Builder.BotCallbackHandler callback, System.Threading.CancellationToken cancellationToken);
override this.ProcessActivityAsync : string * Microsoft.Bot.Schema.Activity * Microsoft.Bot.Builder.BotCallbackHandler * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.InvokeResponse>
Protected Function ProcessActivityAsync (authHeader As String, activity As Activity, callback As BotCallbackHandler, cancellationToken As CancellationToken) As Task(Of InvokeResponse)

Parameters

authHeader
String

De autorisatieheader van de HTTP-aanvraag.

activity
Activity

De Activity om te verwerken.

callback
BotCallbackHandler

De methode voor het aanroepen van de resulterende bot turn.

cancellationToken
CancellationToken

Annuleringstoken.

Retouren

Een taak die het werk vertegenwoordigt dat in de wachtrij staat om uit te voeren. Bevat de InvokeResponse als er een is.

Van toepassing op