VssHttpClientBase.PostAsync<T, TResult> Method (T, Guid, Object, ApiResourceVersion, NameValueCollection, Object)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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


Protected Function PostAsync(Of T, TResult) ( _
    value As T, _
    locationId As Guid, _
    routeValues As Object, _
    version As ApiResourceVersion, _
    queryParameters As NameValueCollection, _
    userState As Object _
) As Task(Of TResult)
protected Task<TResult> PostAsync<T, TResult>(
    T value,
    Guid locationId,
    Object routeValues,
    ApiResourceVersion version,
    NameValueCollection queryParameters,
    Object userState
generic<typename T, typename TResult>
Task<TResult>^ PostAsync(
    T value, 
    Guid locationId, 
    Object^ routeValues, 
    ApiResourceVersion^ version, 
    NameValueCollection^ queryParameters, 
    Object^ userState
member PostAsync : 
        value:'T * 
        locationId:Guid * 
        routeValues:Object * 
        version:ApiResourceVersion * 
        queryParameters:NameValueCollection * 
        userState:Object -> Task<'TResult> 
JScript does not support generic types or methods.

Type Parameters

  • T
  • TResult


  • value
    Type: T

Return Value

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

.NET Framework Security

See Also


VssHttpClientBase Class

PostAsync Overload

Microsoft.VisualStudio.Services.Common Namespace