EXCEPINFO EXCEPINFO EXCEPINFO EXCEPINFO Struct

定義

警告

此 API 現已淘汰。

請改用 EXCEPINFOUse EXCEPINFO instead.

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

備註

如需有關EXCEPINFO的詳細資訊, 請參閱 MSDN Library。For additional information about EXCEPINFO, see the MSDN Library.

欄位

bstrDescription bstrDescription bstrDescription bstrDescription

描述預定給客戶的錯誤。Describes the error intended for the customer.

bstrHelpFile bstrHelpFile bstrHelpFile bstrHelpFile

包含說明檔 (含有錯誤的詳細資訊) 的完整磁碟機、路徑和檔案名稱。Contains the fully-qualified drive, path, and file name of a Help file with more information about the error.

bstrSource bstrSource bstrSource bstrSource

指示例外狀況來源的名稱。Indicates the name of the source of the exception. 通常,這是應用程式名稱。Typically, this is an application name.

dwHelpContext dwHelpContext dwHelpContext dwHelpContext

指示說明檔內的說明主題代碼。Indicates the Help context ID of the topic within the Help file.

pfnDeferredFillIn pfnDeferredFillIn pfnDeferredFillIn pfnDeferredFillIn

表示函式的指標,這函式接受 EXCEPINFO 結構做為引數,並且傳回 HRESULT 值。Represents a pointer to a function that takes an EXCEPINFO structure as an argument and returns an HRESULT value. 如果不希望將填入擱置,這個欄位要設定為 nullIf deferred fill-in is not desired, this field is set to null.

pvReserved pvReserved pvReserved pvReserved

這個欄位被保留;必須設定為 nullThis field is reserved; must be set to null.

wCode wCode wCode wCode

表示識別錯誤的錯誤碼。Represents an error code identifying the error.

wReserved wReserved wReserved wReserved

這個欄位被保留;必須設定為 0。This field is reserved; must be set to 0.

適用於