Compartir a través de


IErrorInfo Interface

Communicates detailed contextual error information.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
<GuidAttribute("1CF2B120-547D-101B-8E65-08002B2BD119")> _
<InterfaceTypeAttribute()> _
Public Interface IErrorInfo
[GuidAttribute("1CF2B120-547D-101B-8E65-08002B2BD119")]
[InterfaceTypeAttribute()]
public interface IErrorInfo
[GuidAttribute(L"1CF2B120-547D-101B-8E65-08002B2BD119")]
[InterfaceTypeAttribute()]
public interface class IErrorInfo
[<GuidAttribute("1CF2B120-547D-101B-8E65-08002B2BD119")>]
[<InterfaceTypeAttribute()>]
type IErrorInfo =  interface end
public interface IErrorInfo

The IErrorInfo type exposes the following members.

Methods

  Name Description
Public method GetDescription Returns a string describing the error.
Public method GetGuid Returns the GUID of the interface defining the error.
Public method GetHelpContext Retrieves the Help context for the error.
Public method GetHelpFile Returns the path of the Help file for information about the error.
Public method GetSource Returns the programmatic identifier (ProgID) for the class or application returning the error.

Top

Remarks

For information about using the interface, see Error Handling Interfaces [Automation] and Supporting IDispatch and IErrorInfo.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace