Contains extended information about the control's reason for disconnection.
This property is read-only.
HRESULT get_ExtendedDisconnectReason( [out] ExtendedDisconnectReasonCode *pExtendedDisconnectReason );
Pointer to the ExtendedDisconnectReasonCode value indicating the reason for disconnection of the client.
If the method succeeds, S_OK is returned. Any other HRESULT value indicates that the call failed.
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.
|Minimum supported client
|Minimum supported server
||Windows Server 2008
||IID_IMsRdpClient is defined as 92b4a539-7115-4b7c-a5a9-e5d9efc2780a