Compartilhar via


Método VssHttpClientBase.SendAsync (HttpRequestMessage, HttpCompletionOption, Object, CancellationToken)

Namespace:  Microsoft.VisualStudio.Services.Common
Assembly:  Microsoft.VisualStudio.Services.Common (em Microsoft.VisualStudio.Services.Common.dll)

Sintaxe

'Declaração
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
)

Parâmetros

Valor de retorno

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

Segurança do .NET Framework

Consulte também

Referência

VssHttpClientBase Classe

Sobrecargas SendAsync

Namespace Microsoft.VisualStudio.Services.Common