Share via


ValidationMessage Members

Include Protected Members
Include Inherited Members

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

The ValidationMessage type exposes the following members.

Constructors

 

Name

Description

Protected method

ValidationMessage

Overloaded. Initializes a new instance of the ValidationMessage class.

Top

Methods

 

Name

Description

Public method

Equals

Checks to see whether the validation message is equal to another object. (Overrides Object.Equals(Object).)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Gets an identifier for a ValidationMessage. (Overrides Object.GetHashCode().)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

ToString

Identifies the validation message. (Overrides Object.ToString().)

Public method

UpdateFileReferences

Overloaded. Contains the names of files to update.

Public method

UpdateReferencedModelElements

Updates the referenced model elements.

Top

Properties

 

Name

Description

Public property

Code

Gets the code for the message.

Public property

Column

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

Public property

Context

Gets the context information for a validation message.

Public property

Description

Gets the description for a validation message.

Public property

File

Gets the name of a referenced file.

Public property

HelpKeyword

Gets or sets the keyword to search for in the Help for Visual Studio.

Public property

Line

Gets the line number in the file to which the error or the warning refers.

Public property

ReferencedFiles

Gets the names of files to which the ValidationMessage refers.

Public property

ReferencedModelElements

Gets the model elements that are referenced by this message.

Public property

Type

Gets the type of validation message.

Top

See Also

Reference

ValidationMessage Class

Microsoft.VisualStudio.Modeling.Validation Namespace