Compartilhar via


Método VssHttpClientBase.PostAsync<T, TResult> (T, Guid, Object, ApiResourceVersion, NameValueCollection, Object)

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

Sintaxe

'Declaração
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
)

Parâmetros de tipo

  • T
  • TResult

Parâmetros

  • value
    Tipo: T

Valor de retorno

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

Segurança do .NET Framework

Consulte também

Referência

VssHttpClientBase Classe

Sobrecargas PostAsync

Namespace Microsoft.VisualStudio.Services.Common