Partilhar via


RequestHandler.SendAsync(RequestMessage, CancellationToken) Método

Definição

Processa o atual RequestMessage no manipulador atual e envia o atual RequestMessage para o próximo manipulador na cadeia.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.ResponseMessage> SendAsync (Microsoft.Azure.Cosmos.RequestMessage request, System.Threading.CancellationToken cancellationToken);
abstract member SendAsync : Microsoft.Azure.Cosmos.RequestMessage * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.ResponseMessage>
override this.SendAsync : Microsoft.Azure.Cosmos.RequestMessage * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.ResponseMessage>
Public Overridable Function SendAsync (request As RequestMessage, cancellationToken As CancellationToken) As Task(Of ResponseMessage)

Parâmetros

request
RequestMessage

RequestMessage recebido pelo manipulador.

cancellationToken
CancellationToken

CancellationToken recebido pelo manipulador.

Retornos

Uma instância de ResponseMessage.

Aplica-se a