Partager via


VssHttpClientBase.SendAsync Method (HttpRequestMessage, Object, CancellationToken)

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

Syntax

'Declaration
Protected Function SendAsync ( _
    message As HttpRequestMessage, _
    userState As Object, _
    cancellationToken As CancellationToken _
) As Task(Of HttpResponseMessage)
protected Task<HttpResponseMessage> SendAsync(
    HttpRequestMessage message,
    Object userState,
    CancellationToken cancellationToken
)
protected:
Task<HttpResponseMessage^>^ SendAsync(
    HttpRequestMessage^ message, 
    Object^ userState, 
    CancellationToken cancellationToken
)
member SendAsync : 
        message:HttpRequestMessage * 
        userState:Object * 
        cancellationToken:CancellationToken -> Task<HttpResponseMessage> 
protected function SendAsync(
    message : HttpRequestMessage, 
    userState : Object, 
    cancellationToken : CancellationToken
) : Task<HttpResponseMessage>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

VssHttpClientBase Class

SendAsync Overload

Microsoft.VisualStudio.Services.WebApi Namespace