SubscribeConnectionLost

ISubscription IController.SubscribeConnectionLost(ConnectionLostHandler handler)

Subscribes a callback to be executed when the connection to this controller is lost.

Parameters

handler – Delegate to be invoked when connection is lost.

Returns

ISubscription – An ISubscription for the callback.

Throws
Remarks

It is not executed when the connection to a sub-controller of this controller is lost.