Compartilhar via


LegacyStreamingConnection.SendStreamingRequestAsync Método

Definição

Envia uma solicitação de streaming por meio da conexão.

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 a ser enviado.

cancellationToken
CancellationToken

CancellationToken para cancelar o processo de envio.

Retornos

O ReceiveResponse retornado do cliente.

Aplica-se a