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.

適用於

另請參閱