CloudAdapterBase.ProcessActivityAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| ProcessActivityAsync(AuthenticateRequestResult, Activity, BotCallbackHandler, CancellationToken) |
L’implémentation pour traiter une activité envoyée à ce bot. |
| ProcessActivityAsync(String, Activity, BotCallbackHandler, CancellationToken) |
L’implémentation pour traiter une activité envoyée à ce bot. |
ProcessActivityAsync(AuthenticateRequestResult, Activity, BotCallbackHandler, CancellationToken)
L’implémentation pour traiter une activité envoyée à ce bot.
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)
Paramètres
- authenticateRequestResult
- AuthenticateRequestResult
Les résultats d’authentification pour ce tour.
- callback
- BotCallbackHandler
Méthode à appeler pour le tour de bot résultant.
- cancellationToken
- CancellationToken
Jeton d’annulation.
Retours
Tâche qui représente le travail mis en file d’attente à exécuter. Contenant l’InvokeResponse s’il y en a une.
S’applique à
ProcessActivityAsync(String, Activity, BotCallbackHandler, CancellationToken)
L’implémentation pour traiter une activité envoyée à ce bot.
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)
Paramètres
- authHeader
- String
L’en-tête d’autorisation de la requête http.
- callback
- BotCallbackHandler
Méthode à appeler pour le tour de bot résultant.
- cancellationToken
- CancellationToken
Jeton d’annulation.
Retours
Tâche qui représente le travail mis en file d’attente à exécuter. Contenant l’InvokeResponse s’il y en a une.