BotFrameworkHttpAdapterBase.SendStreamingActivityAsync Methode

Definition

Schickt eine Aktivität.

public System.Threading.Tasks.Task<Microsoft.Bot.Schema.ResourceResponse> SendStreamingActivityAsync(Microsoft.Bot.Schema.Activity activity, System.Threading.CancellationToken cancellationToken = default);
member this.SendStreamingActivityAsync : Microsoft.Bot.Schema.Activity * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.ResourceResponse>
Public Function SendStreamingActivityAsync (activity As Activity, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ResourceResponse)

Parameter

activity
Activity

>Das Activity zum Senden.

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 den asynchronen Vorgang darstellt.

Hinweise

Wenn die Aufgabe erfolgreich abgeschlossen wird, enthält das Ergebnis ein Resource Response-Objekt.

Gilt für: