Partager via


VssHttpClientBase.PostAsync<T, TResult>, méthode (T, Guid, Object, ApiResourceVersion, NameValueCollection, Object)

Espace de noms :  Microsoft.VisualStudio.Services.WebApi
Assembly :  Microsoft.VisualStudio.Services.WebApi (dans Microsoft.VisualStudio.Services.WebApi.dll)

Syntaxe

'Déclaration
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
)

Paramètres de type

  • T
  • TResult

Paramètres

  • value
    Type : T

Valeur de retour

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

Sécurité .NET Framework

Voir aussi

Référence

VssHttpClientBase Classe

PostAsync, surcharge

Microsoft.VisualStudio.Services.WebApi, espace de noms