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

Return Value

Type: System.Threading.Tasks.Task<ApiResourceVersion>

.NET Framework Security

See Also

Reference

VssHttpClientBase Class

Microsoft.VisualStudio.Services.WebApi Namespace