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
- 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.