IMsRdpClient::ExtendedDisconnectReason property

Contains extended information about the control's reason for disconnection.

This property is read-only.

Syntax

HRESULT get_ExtendedDisconnectReason(
  [out] ExtendedDisconnectReasonCode *pExtendedDisconnectReason
);

Property value

Pointer to the ExtendedDisconnectReasonCode value indicating the reason for disconnection of the client.

Error codes

If the method succeeds, S_OK is returned. Any other HRESULT value indicates that the call failed.

Remarks

Typically this method is called in the IMsTscAxEvents::OnDisconnected event handler to retrieve additional information about the disconnection event.

For more information about Remote Desktop Web Connection, see Requirements for Remote Desktop Web Connection.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Type library
MsTscAx.dll
DLL
MsTscAx.dll
IID
IID_IMsRdpClient is defined as 92b4a539-7115-4b7c-a5a9-e5d9efc2780a

See also

IMsRdpClient

IMsRdpClient2

IMsRdpClient3

IMsRdpClient4

IMsRdpClient5

IMsRdpClient6

IMsRdpClient7

IMsRdpClient8

IMsRdpClient9

IMsRdpClient10

IMsTscAxEvents::OnDisconnected