![]() | IOrderServiceCancelAsync Method (String, String, OrderParameters, 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.
Namespace: ETradeNet.Order
Task<ICancelResponse> CancelAsync( string accountId, string orderNum, OrderParameters parameters, CancellationToken cancellationToken )
Exception | Condition |
---|---|
ETradeException | E*TRADE API exception. |
HttpRequestException | Network error. |
ArgumentNullException | Null argument value (accountId, orderNum). |
ArgumentException | Argument value does not adhere to the specification (parameters). |
OperationCanceledException | Asynchronous task canceled (cancellationToken). |
ObjectDisposedException | Disposed object accessed (cancellationToken). |