PredefinedErrorTypeNames 类

表示预定义的错误类型。

继承层次结构

Object
  Microsoft.VisualStudio.Text.Adornments.PredefinedErrorTypeNames

命名空间:  Microsoft.VisualStudio.Text.Adornments
程序集:  Microsoft.VisualStudio.Text.UI(在 Microsoft.VisualStudio.Text.UI.dll 中)

语法

声明
Public NotInheritable Class PredefinedErrorTypeNames
public static class PredefinedErrorTypeNames
public ref class PredefinedErrorTypeNames abstract sealed
[<AbstractClass>]
[<Sealed>]
type PredefinedErrorTypeNames =  class end
public final class PredefinedErrorTypeNames

PredefinedErrorTypeNames 类型公开以下成员。

字段

  名称 说明
公共字段静态成员 CompilerError 表示编译器错误。
公共字段静态成员 OtherError 表示其他错误。
公共字段静态成员 SyntaxError 表示语法错误。
公共字段静态成员 Warning 表示编译器警告。

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.VisualStudio.Text.Adornments 命名空间