TaskValidationMessage Class
Represents a validation error, warning, or information message.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Microsoft.VisualStudio.Modeling.Validation::ValidationMessage
Microsoft.VisualStudio.Modeling.Shell::TaskValidationMessage
| Name | Description | |
|---|---|---|
![]() | TaskValidationMessage(ValidationContext^, String^, TaskCategory, String^, ViolationType, String^) | Constructor. |
| Name | Description | |
|---|---|---|
![]() | Category | Task category. |
![]() | Code | Gets the code for the message.(Inherited from ValidationMessage.) |
![]() | Column | Gets the column in a line of text where the error occurs.(Inherited from ValidationMessage.) |
![]() | Context | Gets the context information for a validation message.(Inherited from ValidationMessage.) |
![]() | Description | Gets the description for a validation message.(Inherited from ValidationMessage.) |
![]() | File | return the name of the first referenced file, if one exists, otherwise null.(Overrides ValidationMessage::File.) |
![]() | HelpKeyword | Gets or sets the keyword to search for in the Help for Visual Studio.(Inherited from ValidationMessage.) |
![]() | Line | Gets the line number in the file to which the error or the warning refers.(Inherited from ValidationMessage.) |
![]() | ReferencedFiles | Gets the names of files to which the ValidationMessage refers.(Inherited from ValidationMessage.) |
![]() | ReferencedModelElements | Gets the model elements that are referenced by this message.(Inherited from ValidationMessage.) |
![]() | Type | Gets the type of validation message.(Inherited from ValidationMessage.) |
| Name | Description | |
|---|---|---|
![]() | Configure(ValidationTask^) | configures the supplied task with values of this message. |
![]() | Equals(Object^) | Checks to see whether the validation message is equal to another object.(Inherited from ValidationMessage.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | Gets an identifier for a ValidationMessage.(Inherited from ValidationMessage.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsMatch(IVsTaskItem^) | determines if the specified taskItem represents this message. |
![]() | IsMatch(TaskItem^) | determines if the specified taskItem represents this message. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | Identifies the validation message.(Inherited from ValidationMessage.) |
![]() | UpdateFileReferences(IEnumerable<String^>^) | Contains the names of files to update from a list of zero or more file names.(Inherited from ValidationMessage.) |
![]() | UpdateFileReferences(String^) | Contains the name of the file to update.(Inherited from ValidationMessage.) |
![]() | UpdateReferencedModelElements(IEnumerable<ModelElement^>^) | Updates the referenced model elements.(Inherited from ValidationMessage.) |
TaskValidationMessages are supplied by the VsValidationContext, which overrides ConstructValidationMessage. It contains the information to work with the Visual Studio ErrorList tool window. It able to navigate to the shape in the diagram from the offending model element.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


