IMsRdpClient5::GetErrorDescription 方法

擷取會話中斷線上活動的錯誤描述。

語法

HRESULT GetErrorDescription(
  [in]  UINT disconnectReason,
  [in]  UINT extendedDisconnectReason,
  [out] BSTR *pBstrErrorMsg
);

參數

disconnectReason [in]

中斷連線的原因。

extendedDisconnectReason [in]

提供有關為何起始中斷連線的詳細資訊。

pBstrErrorMsg [out]

接收錯誤訊息正文之 BSTR 變數的指標。

傳回值

這個方法不會傳回值。

規格需求

需求
最低支援的用戶端
Windows Vista
最低支援的伺服器
Windows Server 2008
類型程式庫
MsTscAx.dll
DLL
MsTscAx.dll
IID
IID_IMsRdpClient5定義為 4eb5335b-6429-477d-b922-e06a28ecd8bf

另請參閱

IMsRdpClient5

IMsRdpClient6

IMsRdpClient7

IMsRdpClient8

IMsRdpClient9

IMsRdpClient10