次の方法で共有


IErrorInfo Interface

Definition

Provides detailed contextual error information.

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
Attributes

Remarks

For information about using the interface, see Error Handling Interfaces (Component Automation) and Supporting IDispatch and IErrorInfo.

Methods

GetDescription(String)

Returns a string describing the error.

GetGuid(Guid)

Returns the GUID of the interface defining the error.

GetHelpContext(UInt32)

Retrieves the Help context for the error.

GetHelpFile(String)

Returns the path of the Help file for information about the error.

GetSource(String)

Returns the programmatic identifier (ProgID) for the class or application returning the error.

Applies to