共用方式為


VssHttpClientBase.CreateRequestMessage Method

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

Return Value

Type: System.Net.Http.HttpRequestMessage

.NET Framework Security

See Also

Reference

VssHttpClientBase Class

Microsoft.VisualStudio.Services.WebApi Namespace