Partager via


VssHttpClientBase.SendAsync<T>, méthode (HttpMethod, Guid, Object, ApiResourceVersion, HttpContent, 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 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)
protected 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

VssHttpClientBase Classe

SendAsync, surcharge

Microsoft.VisualStudio.Services.WebApi, espace de noms