TaskValidationMessage Class
Visual Studio 2010
Represents a validation error, warning, or information message.
System.Object
Microsoft.VisualStudio.Modeling.Validation.ValidationMessage
Microsoft.VisualStudio.Modeling.Shell.TaskValidationMessage
Microsoft.VisualStudio.Modeling.Validation.ValidationMessage
Microsoft.VisualStudio.Modeling.Shell.TaskValidationMessage
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
The TaskValidationMessage type exposes the following members.
| 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 | configures the supplied task with values of this message. |
![]() | Equals | Checks to see whether the validation message is equal to another object. (Inherited from ValidationMessage.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Gets an identifier for a ValidationMessage. (Inherited from ValidationMessage.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsMatch(TaskItem) | determines if the specified taskItem represents this message. |
![]() | IsMatch(IVsTaskItem) | determines if the specified taskItem represents this message. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (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 | Updates the referenced model elements. (Inherited from ValidationMessage.) |
