This method cancels a running configuration task. Multiple cancel requests are treated as a single cancellation request. Cancelling a completed or an already cancelled task throws ServiceIdle exception. If successfully canceled, the StateInfo.error property is set to RequestCanceled. A cancel operation is asynchronous. The operation may return before the task is cancelled. After invoking it, the configuration task continues to remain working, and it can still succeed. In such a situation, the StateInfo.cancelled property is set.

Synopsis

void cancel()

Faults

  • RuntimeFault
  • ServiceIdle

For more information about the faults, see Faults in Site Recovery Manager Appliance Management API.