[This documentation is preliminary and is subject to change.]
Applies to: desktop apps | Metro style apps
Called when the client control has been disconnected from a remote session.
void OnDisconnected( [in] LONG discReason, [in] LONG extendedDiscReason );
Indicates the reason for the disconnect event.
Specifies extended information for the disconnect event. For a list of possible values, see the ExtendedDisconnectReason property.
This method does not return a value.
Minimum supported client
|Windows 8 Consumer Preview|
Minimum supported server
|Windows Server 8 Beta|
Build date: 4/21/2012