VssHttpClientBase.NegotiateRequestVersionAsync Method
Namespace: Microsoft.VisualStudio.Services.WebApi
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Protected Function NegotiateRequestVersionAsync ( _
locationId As Guid, _
version As ApiResourceVersion _
) As Task(Of ApiResourceVersion)
protected Task<ApiResourceVersion> NegotiateRequestVersionAsync(
Guid locationId,
ApiResourceVersion version
)
protected:
Task<ApiResourceVersion^>^ NegotiateRequestVersionAsync(
Guid locationId,
ApiResourceVersion^ version
)
member NegotiateRequestVersionAsync :
locationId:Guid *
version:ApiResourceVersion -> Task<ApiResourceVersion>
protected function NegotiateRequestVersionAsync(
locationId : Guid,
version : ApiResourceVersion
) : Task<ApiResourceVersion>
Parameters
- locationId
Type: System.Guid
Return Value
Type: System.Threading.Tasks.Task<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.