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
- location
Type: Microsoft.VisualStudio.Services.WebApi.ApiResourceLocation
Return Value
Type: Microsoft.VisualStudio.Services.WebApi.ApiResourceVersion
.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.