Share via


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

Return Value

Type: System.Threading.Tasks.Task<HttpRequestMessage>

.NET Framework Security

See Also

Reference

VssHttpClientBase Class

Microsoft.VisualStudio.Services.WebApi Namespace