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 库。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

指示该主题在帮助文件中的帮助上下文 ID。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.

适用于