Compartir a través de


LegacyStreamingConnection.SendStreamingRequestAsync Método

Definición

Envía una solicitud de streaming a través de la conexión.

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

Parámetros

request
StreamingRequest

StreamingRequest que se va a enviar.

cancellationToken
CancellationToken

CancellationToken para cancelar el proceso de envío.

Devoluciones

devuelto ReceiveResponse por el cliente.

Se aplica a