共用方式為


AccountHttpClient.GetAccountAsync 方法

命名空間:  Microsoft.VisualStudio.Services.Account.Client
組件:  Microsoft.VisualStudio.Services.WebApi (在 Microsoft.VisualStudio.Services.WebApi.dll 中)

語法

'宣告
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
)

參數

傳回值

類型:System.Threading.Tasks.Task<Account>

.NET Framework 安全性

請參閱

參考

AccountHttpClient 類別

Microsoft.VisualStudio.Services.Account.Client 命名空間