다음을 통해 공유


ValidationTask Class

Validation task.

This API is not CLS-compliant. 

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Shell.Task
    Microsoft.VisualStudio.Shell.ErrorTask
      Microsoft.VisualStudio.Modeling.Shell.ValidationTask

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Class ValidationTask _
    Inherits ErrorTask
[CLSCompliantAttribute(false)]
public class ValidationTask : ErrorTask
[CLSCompliantAttribute(false)]
public ref class ValidationTask : public ErrorTask
[<CLSCompliantAttribute(false)>]
type ValidationTask =  
    class 
        inherit ErrorTask 
    end
public class ValidationTask extends ErrorTask

The ValidationTask type exposes the following members.

Constructors

  Name Description
Public method ValidationTask Constructor.

Top

Properties

  Name Description
Public property CanDelete (Inherited from Task.)
Public property Category (Inherited from Task.)
Public property Checked (Inherited from Task.)
Public property Column (Inherited from Task.)
Public property Document (Inherited from Task.)
Public property ErrorCategory (Inherited from ErrorTask.)
Public property HelpKeyword (Inherited from Task.)
Public property HierarchyItem (Inherited from ErrorTask.)
Public property ImageIndex (Inherited from Task.)
Public property IsCheckedEditable (Inherited from Task.)
Public property IsPriorityEditable (Inherited from Task.)
Public property IsTextEditable (Inherited from Task.)
Public property Line (Inherited from Task.)
Public property Message Associated validation message.
Public property Priority (Inherited from Task.)
Public property SubcategoryIndex (Inherited from Task.)
Public property Text (Inherited from Task.)

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from 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 Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetUserContext (Inherited from Task.)
Public method IsMatch Gets whether this task has same message as another one.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnDeleted (Inherited from Task.)
Protected method OnHelp (Inherited from Task.)
Protected method OnNavigate (Inherited from Task.)
Protected method OnRemoved (Inherited from Task.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event Deleted (Inherited from Task.)
Public event Help (Inherited from Task.)
Public event Navigate (Inherited from Task.)
Public event Removed (Inherited from Task.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IVsTaskItem.CanDelete (Inherited from Task.)
Explicit interface implemetationPrivate method IVsTaskItem.Category (Inherited from Task.)
Explicit interface implemetationPrivate method IVsTaskItem.Column (Inherited from Task.)
Explicit interface implemetationPrivate method IVsTaskItem.Document (Inherited from Task.)
Explicit interface implemetationPrivate method IVsTaskItem.get_Checked (Inherited from Task.)
Explicit interface implemetationPrivate method IVsTaskItem.get_Priority (Inherited from Task.)
Explicit interface implemetationPrivate method IVsTaskItem.get_Text (Inherited from Task.)
Explicit interface implemetationPrivate method IVsErrorItem.GetCategory (Inherited from ErrorTask.)
Explicit interface implemetationPrivate method IVsErrorItem.GetHierarchy (Inherited from ErrorTask.)
Explicit interface implemetationPrivate method IVsTaskItem.HasHelp (Inherited from Task.)
Explicit interface implemetationPrivate method IVsTaskItem.ImageListIndex (Inherited from Task.)
Explicit interface implemetationPrivate method IVsTaskItem.IsReadOnly (Inherited from Task.)
Explicit interface implemetationPrivate method IVsTaskItem.Line (Inherited from Task.)
Explicit interface implemetationPrivate method IVsTaskItem.NavigateTo (Inherited from Task.)
Explicit interface implemetationPrivate method IVsTaskItem.NavigateToHelp (Inherited from Task.)
Explicit interface implemetationPrivate method IVsTaskItem.OnDeleteTask (Inherited from Task.)
Explicit interface implemetationPrivate method IVsTaskItem.OnFilterTask (Inherited from Task.)
Explicit interface implemetationPrivate method IVsTaskItem.put_Checked (Inherited from Task.)
Explicit interface implemetationPrivate method IVsTaskItem.put_Priority (Inherited from Task.)
Explicit interface implemetationPrivate method IVsTaskItem.put_Text (Inherited from Task.)
Explicit interface implemetationPrivate method IVsTaskItem.SubcategoryIndex (Inherited from Task.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Modeling.Shell Namespace