Partager via


VssHttpClientBase.NegotiateRequestVersion Method

Namespace:  Microsoft.VisualStudio.Services.WebApi
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
Protected Function NegotiateRequestVersion ( _
    location As ApiResourceLocation, _
    version As ApiResourceVersion _
) As ApiResourceVersion
protected ApiResourceVersion NegotiateRequestVersion(
    ApiResourceLocation location,
    ApiResourceVersion version
)
protected:
ApiResourceVersion^ NegotiateRequestVersion(
    ApiResourceLocation^ location, 
    ApiResourceVersion^ version
)
member NegotiateRequestVersion : 
        location:ApiResourceLocation * 
        version:ApiResourceVersion -> ApiResourceVersion
protected function NegotiateRequestVersion(
    location : ApiResourceLocation, 
    version : ApiResourceVersion
) : ApiResourceVersion

Parameters

Return Value

Type: Microsoft.VisualStudio.Services.WebApi.ApiResourceVersion

.NET Framework Security

See Also

Reference

VssHttpClientBase Class

Microsoft.VisualStudio.Services.WebApi Namespace