Taal

BotFrameworkHttpAdapterBase.SendStreamingActivityAsync Methode

Definitie

Stuurt een activiteit.

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)

Parameters

activity
Activity

>De Activity om te sturen.

cancellationToken
CancellationToken

Een annuleringstoken dat kan worden gebruikt door andere objecten of threads om kennisgeving van annulering te ontvangen.

Retouren

Een taak die de asynchrone bewerking vertegenwoordigt.

Opmerkingen

Als de taak succesvol wordt voltooid, bevat het resultaat een resource response-object.

Van toepassing op