Partager 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
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'Déclaration
<ComVisibleAttribute(True)> _
<CLSCompliantAttribute(False)> _
Public Class Task _
    Implements IVsTaskItem, IVsProvideUserContext
'Utilisation
Dim instance As Task
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
public class Task : IVsTaskItem, IVsProvideUserContext
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
public ref class Task : IVsTaskItem, IVsProvideUserContext
[<ComVisibleAttribute(true)>]
[<CLSCompliantAttribute(false)>]
type Task =  
    class
        interface IVsTaskItem
        interface IVsProvideUserContext
    end
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