IStreamingActivityProcessor.ProcessStreamingActivityAsync Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Definiert den Vertrag zur Verarbeitung von Streaming-Aktivitäten.
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)
Parameter
- botCallbackHandler
- BotCallbackHandler
Derjenige BotCallbackHandler , der die Aktivität übernehmen wird.
- cancellationToken
- CancellationToken
Ein Abbruchtoken, das von anderen Objekten oder Threads verwendet werden kann, um eine Kündigungsbenachrichtigung zu erhalten.
Gibt zurück
Eine Aufgabe, die ein InvokeResponse Objekt zurückgibt.