Share via


Task Class

An implementation of IVsTaskItem, used to modify the appearance and functionality of a task in the task list.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
<ComVisibleAttribute(True)> _
Public Class Task _
    Implements IVsTaskItem, IVsProvideUserContext
'Usage
Dim instance As Task
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
public class Task : IVsTaskItem, IVsProvideUserContext
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
public ref class Task : IVsTaskItem, IVsProvideUserContext
public class Task implements IVsTaskItem, IVsProvideUserContext

Inheritance Hierarchy

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

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

Task Members

Microsoft.VisualStudio.Shell Namespace