SubscribeRootError¶
-
ISubscription IAxisControlBase.SubscribeRootError(EventOccurredHandler handler)¶
Subscribes a callback to be executed for the first event that triggers the Error response (i.e. root error).
- Parameters
handler – Delegate to be invoked when the root error occurs.
- 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.