VerificationReportLevel 枚举

定义

指定由 VerificationAttribute 实例定义的辅助功能规则的报告级别。Specifies reporting levels for an accessibility rule defined by an VerificationAttribute instance.

public enum class VerificationReportLevel
public enum VerificationReportLevel
type VerificationReportLevel = 
Public Enum VerificationReportLevel
继承
VerificationReportLevel

字段

Error 0

VerificationAttribute 实例表示的验证规则是一个错误。The verification rule represented by the VerificationAttribute instance is an error.

Guideline 2

VerificationAttribute 实例表示的验证规则是一个准则。The verification rule represented by the VerificationAttribute instance is a guideline.

Warning 1

VerificationAttribute 实例表示的验证规则是一个警告。The verification rule represented by the VerificationAttribute instance is a warning.

注解

使用扩展类、成员或索引器VerificationAttribute时, 您必须通过指定一个VerificationReportLevel值来定义验证规则所表示的报表级别。When using extending a class, member or indexer with a VerificationAttribute, you must define the level of reporting that the verification rule represents by specifying one of the VerificationReportLevel values.

适用于

另请参阅