SubscribeComplete¶
-
ISubscription ICommandSequence.SubscribeComplete(CommandSequenceCompleteHandler handler)¶
Subscribes a callback to be called when execution of the command sequence is finished, i.e. when the command sequence is in either
CommandState.CompletedorCommandState.Failed.- Parameters
handler – Delegate to be invoked when command sequence execution is finished.
- Returns
ISubscription – An ISubscription for the callback.
- Throws
NullArgumentException– Null reference was passed.CommunicationErrorException– Protocol error.ConnectionLostException– Connection to controller lost.RebootedException– Controller has been rebooted since this object reference was retrieved, invalidating this reference.IncompatibleException– Incompatible firmware version loaded.System.ObjectDisposedException– Object is disposed.