SubscribeAsynchronousException

virtual PSubscription ITopController::SubscribeAsynchronousException(AsynchronousExceptionHandler handler, bool includeHistory = false) = 0

Registers a callback that is called when asynchronous exceptions occur.

Parameters
  • handler – Function to be called 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

PSubscription – An ISubscription for the callback.

Throws
Remarks

Execution does not require a subscription resource.