Compartir a través de


StreamingRequestHandler.SendStreamingRequestAsync Método

Definición

Envía un StreamingRequest objeto al canal de streaming conectado.

public System.Threading.Tasks.Task<Microsoft.Bot.Streaming.ReceiveResponse> SendStreamingRequestAsync (Microsoft.Bot.Streaming.StreamingRequest request, System.Threading.CancellationToken cancellationToken = default);
member this.SendStreamingRequestAsync : Microsoft.Bot.Streaming.StreamingRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Streaming.ReceiveResponse>
Public Function SendStreamingRequestAsync (request As StreamingRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ReceiveResponse)

Parámetros

request
StreamingRequest

Solicitud que se va a enviar.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Tarea que se resuelve en un ReceiveResponseobjeto .

Se aplica a