RetryHandler.SendAsync Method
Asynchronously sends the retry request.
Namespace: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)
Usage
'Usage
Dim request As HttpRequestMessage
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of HttpResponseMessage)
returnValue = Me.SendAsync(request, cancellationToken)
Syntax
'Declaration
<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>
Parameters
- request
The request to send.
- cancellationToken
The cancellation token.
Return Value
The result of the operation.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
RetryHandler Class
RetryHandler Members
Microsoft.WindowsAzure Namespace