Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace:  Microsoft.VisualStudio.Services.Commerce.Client
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Overridable 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)
public virtual Task<T> SendAsync<T>(
    HttpMethod method,
    Guid locationId,
    Object routeValues,
    ApiResourceVersion version,
    HttpContent content,
    NameValueCollection queryParameters,
    Object userState
)
public:
generic<typename T>
virtual Task<T>^ SendAsync(
    HttpMethod^ method, 
    Guid locationId, 
    Object^ routeValues, 
    ApiResourceVersion^ version, 
    HttpContent^ content, 
    NameValueCollection^ queryParameters, 
    Object^ userState
)
abstract SendAsync : 
        method:HttpMethod * 
        locationId:Guid * 
        routeValues:Object * 
        version:ApiResourceVersion * 
        content:HttpContent * 
        queryParameters:NameValueCollection * 
        userState:Object -> Task<'T> 
override 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
- method
 Type: System.Net.Http.HttpMethod
- locationId
 Type: System.Guid
- routeValues
 Type: System.Object
- content
 Type: System.Net.Http.HttpContent
- queryParameters
 Type: System.Collections.Specialized.NameValueCollection
- userState
 Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<T>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.