VssHttpClientBase.SendAsync<T> Method (HttpMethod, Guid, Object, ApiResourceVersion, HttpContent, NameValueCollection, Object)

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

Syntax

'Declaration
Protected Function SendAsync(Of T) ( _
    method As HttpMethod, _
    locationId As Guid, _
    routeValues As Object, _
    version As ApiResourceVersion, _
    content As HttpContent, _
    queryParameters As NameValueCollection, _
    userState As Object _
) As Task(Of T)
protected Task<T> SendAsync<T>(
    HttpMethod method,
    Guid locationId,
    Object routeValues,
    ApiResourceVersion version,
    HttpContent content,
    NameValueCollection queryParameters,
    Object userState
)
protected:
generic<typename T>
Task<T>^ SendAsync(
    HttpMethod^ method, 
    Guid locationId, 
    Object^ routeValues, 
    ApiResourceVersion^ version, 
    HttpContent^ content, 
    NameValueCollection^ queryParameters, 
    Object^ userState
)
member SendAsync : 
        method:HttpMethod * 
        locationId:Guid * 
        routeValues:Object * 
        version:ApiResourceVersion * 
        content:HttpContent * 
        queryParameters:NameValueCollection * 
        userState:Object -> 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