This documentation is archived and is not being maintained.

ValidationMessage Class

Represents a validation message that indicates an error, a warning, or a message.

Namespace: Microsoft.VisualStudio.Modeling.Validation
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in microsoft.visualstudio.modeling.dll)

public class ValidationMessage
public class ValidationMessage
public class ValidationMessage

A ValidationMessage is created in a user-defined validation method. The actual creation is done through the virtual ValidationContext.ConstructValidationMessage method.

This class represents validation messages that the ValidationMessageObserver class can pick up.

System.Object
  Microsoft.VisualStudio.Modeling.Validation.ValidationMessage
     Microsoft.VisualStudio.Modeling.Shell.TaskValidationMessage

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: