SubscribeAsynchronousException¶
-
ISubscription ITopController.SubscribeAsynchronousException(AsynchronousExceptionHandler handler, bool includeHistory = false)¶
Registers a callback that is called when asynchronous exceptions occur.
- Parameters
handler – Delegate to be invoked when exception occurs outside the callstack of a PMP API call.
includeHistory – Indicates whether callbacks must be generated for exceptions in the past. Default value is false.
- Returns
ISubscription – An ISubscription for the callback.
- Throws
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.
- Remarks
Execution does not require a subscription resource.