IErrorInfo 接口

定义

提供详细的上下文错误信息。

public interface class IErrorInfo
public interface class IErrorInfo
__interface IErrorInfo
[System.Runtime.InteropServices.Guid("1CF2B120-547D-101B-8E65-08002B2BD119")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IErrorInfo
[<System.Runtime.InteropServices.Guid("1CF2B120-547D-101B-8E65-08002B2BD119")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IErrorInfo = interface
Public Interface IErrorInfo
属性

注解

有关使用接口的信息,请参阅 错误处理接口 (组件自动化) 支持 IDispatch 和 IErrorInfo

方法

GetDescription(String)

返回描述错误的字符串。

GetGuid(Guid)

返回定义错误的接口的 GUID。

GetHelpContext(UInt32)

检索错误的帮助上下文。

GetHelpFile(String)

返回有关错误的信息的帮助文件的路径。

GetSource(String)

为返回错误的类或应用程序返回编程标识符 (ProgID) 。

适用于