VssHttpClientBase.SendAsync 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 ( _
method As HttpMethod, _
locationId As Guid, _
routeValues As Object, _
version As ApiResourceVersion, _
content As HttpContent, _
queryParameters As NameValueCollection, _
userState As Object _
) As Task(Of HttpResponseMessage)
protected Task<HttpResponseMessage> SendAsync(
HttpMethod method,
Guid locationId,
Object routeValues,
ApiResourceVersion version,
HttpContent content,
NameValueCollection queryParameters,
Object userState
)
protected:
Task<HttpResponseMessage^>^ 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<HttpResponseMessage>
protected function SendAsync(
method : HttpMethod,
locationId : Guid,
routeValues : Object,
version : ApiResourceVersion,
content : HttpContent,
queryParameters : NameValueCollection,
userState : Object
) : Task<HttpResponseMessage>
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<HttpResponseMessage>
.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.