ValidationMessage Constructor (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.

Namespace:   Microsoft.VisualStudio.Modeling.Validation
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

protected:
ValidationMessage(
	ValidationContext^ context,
	String^ description,
	int line,
	int column
)

Parameters

context
Type: Microsoft.VisualStudio.Modeling.Validation::ValidationContext^

The validation context for the ValidationMessage.

description
Type: System::String^

A description of the problem. This text will appear in the Visual Studio Output window.

line
Type: System::Int32

The line number where the error occurs.

column
Type: System::Int32

The column in a line of text where the error occurs.

Return to top
Show: