ExecuteAsyncCancel()
- Last UpdatedNov 25, 2015
- 1 minute read
Use the ExecuteAsyncCancel() asynchronous method to cancel the operations of a running command. If the command has already started running, it may run to completion. If the command is queued while waiting for other commands, it is removed from the queue without running.
Syntax
result ExecuteAsyncCancel( )
Remarks
To check for status, you can request the ExecutionState read-only property.
After the method has successfully completed, the command object is canceled.