Share via


VssHttpRetryMessageHandler.SendAsync Method (HttpRequestMessage, CancellationToken)

Namespace:  Microsoft.VisualStudio.Services.WebApi
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
Protected Overridable Function SendAsync ( _
    request As HttpRequestMessage, _
    cancellationToken As CancellationToken _
) As Task(Of HttpResponseMessage)
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 function SendAsync(
    request : HttpRequestMessage, 
    cancellationToken : CancellationToken
) : Task<HttpResponseMessage>

Parameters

Return Value

Type: System.Threading.Tasks.Task<HttpResponseMessage>

.NET Framework Security

See Also

Reference

VssHttpRetryMessageHandler Class

SendAsync Overload

Microsoft.VisualStudio.Services.WebApi Namespace