Share via


ValidationMessage Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of the ValidationMessage class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Protected method ValidationMessage(ValidationContext, String) Initializes a new instance of the ValidationMessage class using a context and a description for the message.
Protected method ValidationMessage(ValidationContext, String, Int32, Int32) Initializes a new instance of the ValidationMessage class using a context, a description, a line number, and a column number for the message.
Protected method ValidationMessage(ValidationContext, String, String, ViolationType) Initializes a new instance of the ValidationMessage class using a context, a description, a code, and a violation type for the message.

Top

See Also

Reference

ValidationMessage Class

Microsoft.VisualStudio.Modeling.Validation Namespace