共用方式為


ErrorHandler Class

Provides methods for dealing with common COM error codes.

Namespace:  Microsoft.VisualStudio
Assemblies:   Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'宣告
Public NotInheritable Class ErrorHandler
'用途
Dim instance As ErrorHandler
public sealed class ErrorHandler
public ref class ErrorHandler sealed
[<SealedAttribute>]
type ErrorHandler =  class end
public final class ErrorHandler

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.ErrorHandler

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ErrorHandler Members

Microsoft.VisualStudio Namespace

Other Resources

HRESULT Information in Managed Code