Partager via


MeteringHttpClient.SendAsync<T>, méthode (HttpMethod, Guid, Object, ApiResourceVersion, HttpContent, NameValueCollection, Object)

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

Syntaxe

'Déclaration
Public Overridable Function SendAsync(Of T) ( _
    method As HttpMethod, _
    locationId As Guid, _
    routeValues As Object, _
    version As ApiResourceVersion, _
    content As HttpContent, _
    queryParameters As NameValueCollection, _
    userState As Object _
) As Task(Of T)
public virtual Task<T> SendAsync<T>(
    HttpMethod method,
    Guid locationId,
    Object routeValues,
    ApiResourceVersion version,
    HttpContent content,
    NameValueCollection queryParameters,
    Object userState
)

Paramètres de type

  • T

Paramètres

Valeur de retour

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

Sécurité .NET Framework

Voir aussi

Référence

MeteringHttpClient Classe

SendAsync, surcharge

Microsoft.VisualStudio.Services.Commerce.Client, espace de noms