Click or drag to resize
IAccountsServiceGetListAsync Method (AccountsParameters, CancellationToken)

Note: This is preliminary documentation provided only as a preview, and is subject to change. Please contact the author for pricing and licensing information.

Returns a list of E*TRADE accounts for the current user.

Namespace: ETradeNet.Accounts
Assembly: ETradeNet.Accounts (in ETradeNet.Accounts.dll) Version: 1.0.5793.41751
Syntax
Task<IGetListResponse> GetListAsync(
	AccountsParameters parameters,
	CancellationToken cancellationToken
)

Parameters

parameters
Type: ETradeNet.AccountsAccountsParameters
Common parameters.
cancellationToken
Type: System.ThreadingCancellationToken
Cancellation token.

Return Value

Type: TaskIGetListResponse
GetList method response (asynchronous task).
Exceptions
ExceptionCondition
ETradeExceptionE*TRADE API exception.
HttpRequestExceptionNetwork error.
ArgumentExceptionArgument value does not adhere to the specification (parameters).
OperationCanceledExceptionAsynchronous task canceled (cancellationToken).
ObjectDisposedExceptionDisposed object accessed (cancellationToken).
See Also