IRemoteDesktopClientEvents::OnDisconnected method

[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


  • discReason [in]
    Indicates the reason for the disconnect event.

  • extendedDiscReason [in]
    Specifies extended information for the disconnect event. For a list of possible values, see the ExtendedDisconnectReason property.

Return value

This method does not return a value.


Minimum supported client

Windows 8 Consumer Preview

Minimum supported server

Windows Server 8 Beta

See also




Send comments about this topic to Microsoft

Build date: 4/21/2012