AccountHttpClient.GetAccountsByCreatorAsync 方法
命名空间: Microsoft.VisualStudio.Services.Account.Client
程序集: Microsoft.VisualStudio.Services.WebApi(在 Microsoft.VisualStudio.Services.WebApi.dll 中)
语法
声明
Public Function GetAccountsByCreatorAsync ( _
creatorId As Guid, _
includeDisabledAccounts As Boolean, _
propertyNameFilter As IEnumerable(Of String), _
userState As Object _
) As Task(Of List(Of Account))
public Task<List<Account>> GetAccountsByCreatorAsync(
Guid creatorId,
bool includeDisabledAccounts,
IEnumerable<string> propertyNameFilter,
Object userState
)
参数
- creatorId
类型:System.Guid
- includeDisabledAccounts
类型:System.Boolean
- propertyNameFilter
类型:System.Collections.Generic.IEnumerable<String>
- userState
类型:System.Object
返回值
类型:System.Threading.Tasks.Task<List<Account>>
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。