Partager via


AccountHttpClient.GetAccountAsync Method

Namespace:  Microsoft.VisualStudio.Services.Account.Client
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
Public Function GetAccountAsync ( _
    accountId As String, _
    propertyNameFilter As IEnumerable(Of String), _
    userState As Object _
) As Task(Of Account)
public Task<Account> GetAccountAsync(
    string accountId,
    IEnumerable<string> propertyNameFilter,
    Object userState
)
public:
Task<Account^>^ GetAccountAsync(
    String^ accountId, 
    IEnumerable<String^>^ propertyNameFilter, 
    Object^ userState
)
member GetAccountAsync : 
        accountId:string * 
        propertyNameFilter:IEnumerable<string> * 
        userState:Object -> Task<Account> 
public function GetAccountAsync(
    accountId : String, 
    propertyNameFilter : IEnumerable<String>, 
    userState : Object
) : Task<Account>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

AccountHttpClient Class

Microsoft.VisualStudio.Services.Account.Client Namespace