ViolationType Enumeration
Visual Studio 2015
Represents the type of violation that has occurred during validation.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
| Member name | Description | |
|---|---|---|
| Error | Indicates a ValidationMessage that represents an error. | |
| Fatal | Marks a Fatal message, that should prevent opening | |
| Message | Indicates a ValidationMessage that represents a message. | |
| Warning | Indicates a ValidationMessage that represents a warning. |
When validation occurs, a ValidationContext method (LogError, LogWarning, or LogMessage) creates a ValidationMessage. The Type property of the ValidationMessage uses this enumeration to indicate the type of violation that a ValidationMessage represents.
Show: