2 // Copyright (c) Microsoft Corporation. All rights reserved.
5 namespace System.Activities.Presentation.Validation
8 /// An enumeration of values that represent states of activity validation.
10 public enum ValidationState
12 // The numeric values of each of the enum values indicate the severity of the error.
13 // The higher the number is, the more severe the error. See the MarkError method in the
14 // ValidationService class for example of usage.
17 /// A value that indicates that an error occurred during the validation of an activity.
18 /// The numeric values of each of the enumeration values indicate the severity of the error. The value associated with the error state is 3
23 /// A value that indicates that a warning occurred during the validation of an activity.
24 /// The numeric values of each of the enumeration values indicate the severity of the error. The value associated with the warning state is 2.
29 /// A value that represents that validation found a child activity to be invalid.
30 /// The numeric values of each of the enumeration values indicate the severity of the error. The value associated with the invalid child activity is 1.
35 /// A value that indicates that an activity is valid.
36 /// The numeric values of each of the enumeration values indicate the severity of the error. The value associated with the valid state is 0.