SubscribeTrigger¶
-
ISubscription ILatch.SubscribeTrigger(LatchTriggeredHandler handler)¶
Subscribes a callback to be executed when the latch is triggered.
- Parameters
handler – Delegate to be invoked when latch is triggered.
- Returns
ISubscription – An ISubscription for the callback.
- Throws
NullArgumentException– Null reference was passed.OutOfResourcesException– No resources available to subscribe callback.CommunicationErrorException– Protocol error.ConnectionLostException– Connection to controller lost.RebootedException– Controller has been rebooted since this object reference was retrieved, invalidating this reference.