ValidationLevel Enumeration
This documentation is archived and is not being maintained.

ValidationLevel Enumeration

Used to identify the importance of a validation rule that is run in a load test.

Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in microsoft.visualstudio.qualitytools.webtestframework.dll)

public enum ValidationLevel
public enum ValidationLevel
public enum ValidationLevel

 Member nameDescription
HighLoad test invokes all validation rules. This equals 2. 
LowLoad test invokes validation rules with a Low setting. This equals 0. 
MediumLoad test invokes validation rules with a Low or Medium setting. This equals 1. 

These enumeration values are ordinal so that they may be compared in code by "less than" and "greater than" operators. ValidationLevel is used in load tests to determine which validation rules are run.

Show:
© 2016 Microsoft