AccountHttpClient.GetAccountsAsync Method
Namespace: Microsoft.VisualStudio.Services.Account.Client
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Function GetAccountsAsync ( _
includeDisabledAccounts As Boolean, _
propertyNameFilter As IEnumerable(Of String), _
userState As Object _
) As Task(Of List(Of Account))
public Task<List<Account>> GetAccountsAsync(
bool includeDisabledAccounts,
IEnumerable<string> propertyNameFilter,
Object userState
)
public:
Task<List<Account^>^>^ GetAccountsAsync(
bool includeDisabledAccounts,
IEnumerable<String^>^ propertyNameFilter,
Object^ userState
)
member GetAccountsAsync :
includeDisabledAccounts:bool *
propertyNameFilter:IEnumerable<string> *
userState:Object -> Task<List<Account>>
public function GetAccountsAsync(
includeDisabledAccounts : boolean,
propertyNameFilter : IEnumerable<String>,
userState : Object
) : Task<List<Account>>
Parameters
- includeDisabledAccounts
Type: System.Boolean
- propertyNameFilter
Type: System.Collections.Generic.IEnumerable<String>
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<List<Account>>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.