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
| 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.
- 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.
- 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.