The CancelExecution method cancels execution of the task.
| TransferObjectsTask Object |
object.CancelExecution()
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
CancelExecution must be called using a different thread than the execution thread.
HRESULT CancelExecution();