Taal

CloudAdapterBase.ProcessActivityAsync Methode

Definitie

Overloads

Name Description
ProcessActivityAsync(AuthenticateRequestResult, Activity, BotCallbackHandler, CancellationToken)

De implementatie voor het verwerken van een activiteit die naar deze bot wordt gestuurd.

ProcessActivityAsync(String, Activity, BotCallbackHandler, CancellationToken)

De implementatie voor het verwerken van een activiteit die naar deze bot wordt gestuurd.

ProcessActivityAsync(AuthenticateRequestResult, Activity, BotCallbackHandler, CancellationToken)

De implementatie voor het verwerken van een activiteit die naar deze bot wordt gestuurd.

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 authenticatieresultaten voor deze beurt.

activity
Activity

Het Activity te verwerken.

callback
BotCallbackHandler

De methode voor het aanroepen van de resulterende botdraai.

cancellationToken
CancellationToken

Annuleringstoken.

Retouren

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

Van toepassing op

ProcessActivityAsync(String, Activity, BotCallbackHandler, CancellationToken)

De implementatie voor het verwerken van een activiteit die naar deze bot wordt gestuurd.

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 het http-verzoek.

activity
Activity

Het Activity te verwerken.

callback
BotCallbackHandler

De methode voor het aanroepen van de resulterende botdraai.

cancellationToken
CancellationToken

Annuleringstoken.

Retouren

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

Van toepassing op