命名空间: 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
)
参数
- accountId
类型:System.String
- propertyNameFilter
类型:System.Collections.Generic.IEnumerable<String>
- userState
类型:System.Object
返回值
类型:System.Threading.Tasks.Task<Account>
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。