ValidationMessage Class
Represents a validation message that states an error, a warning, or a message.
Namespace: Microsoft.VisualStudio.Modeling.Validation
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'Declaration
Public Class ValidationMessage
'Usage
Dim instance As ValidationMessage
public class ValidationMessage
public ref class ValidationMessage
public class ValidationMessage
Remarks
A ValidationMessage is created in a user-defined validation method. The actual creation is completed through the virtual ValidationContext.ConstructValidationMessage method.
This class represents validation messages that the ValidationMessageObserver class can obtain.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.Validation.ValidationMessage
Microsoft.VisualStudio.Modeling.Shell.TaskValidationMessage
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.