表示预定义的错误类型。
继承层次结构
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) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。