Método RetryHandler.SendAsync
Asynchronously sends the retry request.
Namespace: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Common (em Microsoft.WindowsAzure.Common.dll)
Uso
'Uso
Dim request As HttpRequestMessage
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of HttpResponseMessage)
returnValue = Me.SendAsync(request, cancellationToken)
Sintaxe
'Declaração
<DebuggerStepThroughAttribute> _
Protected Overridable Function SendAsync ( _
request As HttpRequestMessage, _
cancellationToken As CancellationToken _
) As Task(Of HttpResponseMessage)
[DebuggerStepThroughAttribute]
protected virtual Task<HttpResponseMessage> SendAsync (
HttpRequestMessage request,
CancellationToken cancellationToken
)
[DebuggerStepThroughAttribute]
protected:
virtual Task<HttpResponseMessage^>^ SendAsync (
HttpRequestMessage^ request,
CancellationToken cancellationToken
)
/** @attribute DebuggerStepThroughAttribute() */
protected Task<HttpResponseMessage> SendAsync (
HttpRequestMessage request,
CancellationToken cancellationToken
)
DebuggerStepThroughAttribute
protected function SendAsync (
request : HttpRequestMessage,
cancellationToken : CancellationToken
) : Task<HttpResponseMessage>
Parâmetros
- request
The request to send.
- cancellationToken
The cancellation token.
Valor de retorno
The result of the operation.
Segurança de thread
Qualquer membro estático público (compartilhado no Visual Basic) desse tipo é thread-safe. Não há garantia de que qualquer membro de instância seja seguro para threads.
Plataformas
Plataformas de desenvolvimento
Windows Vista, Windows 7 e Windows Server 2008
Plataformas de destino
Consulte também
Referência
Classe RetryHandler
Membros RetryHandler
Namespace Microsoft.WindowsAzure