EXCEPINFO 結構

定義

警告

Use System.Runtime.InteropServices.ComTypes.EXCEPINFO instead. http://go.microsoft.com/fwlink/?linkid=14202

請改用 EXCEPINFO

public value class EXCEPINFO
[System.Runtime.InteropServices.ComVisible(false)]
public struct EXCEPINFO
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.EXCEPINFO instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
public struct EXCEPINFO
[<System.Runtime.InteropServices.ComVisible(false)>]
type EXCEPINFO = struct
[<System.Obsolete("Use System.Runtime.InteropServices.ComTypes.EXCEPINFO instead. http://go.microsoft.com/fwlink/?linkid=14202", false)>]
type EXCEPINFO = struct
Public Structure EXCEPINFO
繼承
EXCEPINFO
屬性

備註

如需 的詳細資訊 EXCEPINFO ,請參閱 MSDN 程式庫。

欄位

bstrDescription
已淘汰.

描述預定給客戶的錯誤。

bstrHelpFile
已淘汰.

包含說明檔 (含有錯誤的詳細資訊) 的完整磁碟機、路徑和檔案名稱。

bstrSource
已淘汰.

指示例外狀況來源的名稱。 通常,這是應用程式名稱。

dwHelpContext
已淘汰.

指示說明檔內的說明主題代碼。

pfnDeferredFillIn
已淘汰.

表示函式的指標,這函式接受 EXCEPINFO 結構做為引數,並且傳回 HRESULT 值。 如果不希望將填入擱置,這個欄位要設定為 null

pvReserved
已淘汰.

這個欄位被保留;必須設定為 null

wCode
已淘汰.

表示識別錯誤的錯誤碼。

wReserved
已淘汰.

這個欄位被保留;必須設定為 0。

適用於