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.WebApi
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Protected Function CreateRequestMessage ( _
    method As HttpMethod, _
    location As ApiResourceLocation, _
    routeValues As Object, _
    version As ApiResourceVersion, _
    content As HttpContent, _
    queryParameters As NameValueCollection _
) As HttpRequestMessage
protected HttpRequestMessage CreateRequestMessage(
    HttpMethod method,
    ApiResourceLocation location,
    Object routeValues,
    ApiResourceVersion version,
    HttpContent content,
    NameValueCollection queryParameters
)
protected:
HttpRequestMessage^ CreateRequestMessage(
    HttpMethod^ method, 
    ApiResourceLocation^ location, 
    Object^ routeValues, 
    ApiResourceVersion^ version, 
    HttpContent^ content, 
    NameValueCollection^ queryParameters
)
member CreateRequestMessage : 
        method:HttpMethod * 
        location:ApiResourceLocation * 
        routeValues:Object * 
        version:ApiResourceVersion * 
        content:HttpContent * 
        queryParameters:NameValueCollection -> HttpRequestMessage
protected function CreateRequestMessage(
    method : HttpMethod, 
    location : ApiResourceLocation, 
    routeValues : Object, 
    version : ApiResourceVersion, 
    content : HttpContent, 
    queryParameters : NameValueCollection
) : HttpRequestMessage
Parameters
- method
 Type: System.Net.Http.HttpMethod
- location
 Type: Microsoft.VisualStudio.Services.WebApi.ApiResourceLocation
- routeValues
 Type: System.Object
- content
 Type: System.Net.Http.HttpContent
- queryParameters
 Type: System.Collections.Specialized.NameValueCollection
Return Value
Type: System.Net.Http.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.