IStreamingActivityProcessor.ProcessStreamingActivityAsync 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.
Definieert het contract voor het verwerken van streamingactiviteiten.
public System.Threading.Tasks.Task<Microsoft.Bot.Builder.InvokeResponse> ProcessStreamingActivityAsync(Microsoft.Bot.Schema.Activity activity, Microsoft.Bot.Builder.BotCallbackHandler botCallbackHandler, System.Threading.CancellationToken cancellationToken = default);
abstract member ProcessStreamingActivityAsync : Microsoft.Bot.Schema.Activity * Microsoft.Bot.Builder.BotCallbackHandler * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.InvokeResponse>
Public Function ProcessStreamingActivityAsync (activity As Activity, botCallbackHandler As BotCallbackHandler, Optional cancellationToken As CancellationToken = Nothing) As Task(Of InvokeResponse)
Parameters
- botCallbackHandler
- BotCallbackHandler
De BotCallbackHandler die de activiteit afhandelt.
- cancellationToken
- CancellationToken
Een annuleringstoken dat kan worden gebruikt door andere objecten of threads om een kennisgeving van annulering te ontvangen.
Retouren
Een taak die een object retourneert InvokeResponse .