Freigeben über


VssHttpClientBase.SendAsync<T> 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(Of T) ( _
    message As HttpRequestMessage, _
    userState As Object, _
    cancellationToken As CancellationToken _
) As Task(Of T)
protected Task<T> SendAsync<T>(
    HttpRequestMessage message,
    Object userState,
    CancellationToken cancellationToken
)
protected:
generic<typename T>
Task<T>^ SendAsync(
    HttpRequestMessage^ message, 
    Object^ userState, 
    CancellationToken cancellationToken
)
member SendAsync : 
        message:HttpRequestMessage * 
        userState:Object * 
        cancellationToken:CancellationToken -> Task<'T> 
JScript does not support generic types or methods.

Type Parameters

  • T

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

VssHttpClientBase Class

SendAsync Overload

Microsoft.VisualStudio.Services.WebApi Namespace