RetryHandler.SendAsync Method (HttpRequestMessage, CancellationToken)
Asynchronously sends the retry request.
Namespace: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)
Syntax
protected virtual Task<HttpResponseMessage> SendAsync(
HttpRequestMessage request,
CancellationToken cancellationToken
)
protected:
virtual Task<HttpResponseMessage^>^ SendAsync(
HttpRequestMessage^ request,
CancellationToken cancellationToken
)
abstract SendAsync :
request:HttpRequestMessage *
cancellationToken:CancellationToken -> Task<HttpResponseMessage>
override SendAsync :
request:HttpRequestMessage *
cancellationToken:CancellationToken -> Task<HttpResponseMessage>
Protected Overridable Function SendAsync (
request As HttpRequestMessage,
cancellationToken As CancellationToken
) As Task(Of HttpResponseMessage)
Parameters
request
Type: System.Net.Http.HttpRequestMessageThe request to send.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<HttpResponseMessage>
The result of the operation.
See Also
SendAsync Overload
RetryHandler Class
Microsoft.WindowsAzure Namespace
Return to top