Thrown when a COM proxy object attempts to reference a COM server that no longer exists
When class A references another class (class B) that is in a separate process, class A requires a proxy object to communicate with the out-of-process COM server that holds class B. Sometimes the server can go out of memory without class A knowing about it. In that case the RPC_E_DISCONNECTED exception is thrown and it gets translated to Platform::DisconnectedException. One scenario in which is occurs is when an event source invokes a delegate that was passed to it, but the delegate has been destroyed at some point after it subscribed to the event. When this happens, the event source removes that delegate from its invocation list.
For more information, see the COMException class.
Minimum supported client: Windows 8
Minimum supported server: Windows Server 2012