Condividi tramite


VssHttpMessageHandler.SendAsync Method (HttpRequestMessage, CancellationToken)

Namespace:  Microsoft.VisualStudio.Services.Common
Assembly:  Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.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

VssHttpMessageHandler Class

SendAsync Overload

Microsoft.VisualStudio.Services.Common Namespace