CloudAdapterBase.ProcessActivityAsync Methode

Definition

Überlädt

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

Die Implementierung zur Verarbeitung einer Aktivität, die an diesen Bot gesendet wird.

ProcessActivityAsync(String, Activity, BotCallbackHandler, CancellationToken)

Die Implementierung zur Verarbeitung einer Aktivität, die an diesen Bot gesendet wird.

ProcessActivityAsync(AuthenticateRequestResult, Activity, BotCallbackHandler, CancellationToken)

Die Implementierung zur Verarbeitung einer Aktivität, die an diesen Bot gesendet wird.

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)

Parameter

authenticateRequestResult
AuthenticateRequestResult

Die Authentifizierungsergebnisse für diese Runde.

activity
Activity

Der Activity Vorgang.

callback
BotCallbackHandler

Die Methode, die für die resultierende Bot-Turn aufgerufen werden soll.

cancellationToken
CancellationToken

Abbruchtoken.

Gibt zurück

Eine Aufgabe, die die auszuführende Arbeitswarteschlange darstellt. Enthält die InvokeResponse, falls es eine gibt.

Gilt für:

ProcessActivityAsync(String, Activity, BotCallbackHandler, CancellationToken)

Die Implementierung zur Verarbeitung einer Aktivität, die an diesen Bot gesendet wird.

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)

Parameter

authHeader
String

Der Autorisierungsheader aus der HTTP-Anfrage.

activity
Activity

Der Activity Vorgang.

callback
BotCallbackHandler

Die Methode, die für die resultierende Bot-Turn aufgerufen werden soll.

cancellationToken
CancellationToken

Abbruchtoken.

Gibt zurück

Eine Aufgabe, die die auszuführende Arbeitswarteschlange darstellt. Enthält die InvokeResponse, falls es eine gibt.

Gilt für: