Subscribe Function
Visual Studio 2010
Subscribes a listener for receiving async disconnect notifications.
Parameters
pListener - the listener that wants to be notified of disconnect
true if the disconnect has not yet been observed and the listener was successfully subscribed; false if a disconnect has already been observed. In the latter case, the listener will not be subscribed.
Calls between Subscribe and Unsubscribe are thread-safe.
Show: