Task Class

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

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

Syntax

'宣言
<CLSCompliantAttribute(False)> _
<ComVisibleAttribute(True)> _
Public Class Task _
    Implements IVsTaskItem, IVsProvideUserContext
'使用
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