CloudAdapterBase.ProcessActivityAsync Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
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.
- 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.
- 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.