VssHttpClientBase.CreateRequestMessageAsync Method
Namespace: Microsoft.VisualStudio.Services.WebApi
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Protected Function CreateRequestMessageAsync ( _
method As HttpMethod, _
locationId As Guid, _
routeValues As Object, _
version As ApiResourceVersion, _
content As HttpContent, _
queryParameters As NameValueCollection _
) As Task(Of HttpRequestMessage)
protected Task<HttpRequestMessage> CreateRequestMessageAsync(
HttpMethod method,
Guid locationId,
Object routeValues,
ApiResourceVersion version,
HttpContent content,
NameValueCollection queryParameters
)
protected:
Task<HttpRequestMessage^>^ CreateRequestMessageAsync(
HttpMethod^ method,
Guid locationId,
Object^ routeValues,
ApiResourceVersion^ version,
HttpContent^ content,
NameValueCollection^ queryParameters
)
member CreateRequestMessageAsync :
method:HttpMethod *
locationId:Guid *
routeValues:Object *
version:ApiResourceVersion *
content:HttpContent *
queryParameters:NameValueCollection -> Task<HttpRequestMessage>
protected function CreateRequestMessageAsync(
method : HttpMethod,
locationId : Guid,
routeValues : Object,
version : ApiResourceVersion,
content : HttpContent,
queryParameters : NameValueCollection
) : Task<HttpRequestMessage>
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
Return Value
Type: System.Threading.Tasks.Task<HttpRequestMessage>
.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.