VssHttpClientBase.SendAsync Method (HttpRequestMessage, HttpCompletionOption, 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, _
    completionOption As HttpCompletionOption, _
    userState As Object, _
    cancellationToken As CancellationToken _
) As Task(Of HttpResponseMessage)
protected Task<HttpResponseMessage> SendAsync(
    HttpRequestMessage message,
    HttpCompletionOption completionOption,
    Object userState,
    CancellationToken cancellationToken
)
protected:
Task<HttpResponseMessage^>^ SendAsync(
    HttpRequestMessage^ message, 
    HttpCompletionOption completionOption, 
    Object^ userState, 
    CancellationToken cancellationToken
)
member SendAsync : 
        message:HttpRequestMessage * 
        completionOption:HttpCompletionOption * 
        userState:Object * 
        cancellationToken:CancellationToken -> Task<HttpResponseMessage> 
protected function SendAsync(
    message : HttpRequestMessage, 
    completionOption : HttpCompletionOption, 
    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