次の方法で共有


TaskProvider Class

This class implements IVsTaskProvider. It provides a framework-friendly way to define a task provider and its associated services.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'宣言
<ComVisibleAttribute(True)> _
<CLSCompliantAttribute(False)> _
Public Class TaskProvider _
    Implements IVsTaskProvider2, IVsTaskProvider, IVsTaskProvider3, IDisposable
'使用
Dim instance As TaskProvider
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
public class TaskProvider : IVsTaskProvider2, 
    IVsTaskProvider, IVsTaskProvider3, IDisposable
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
public ref class TaskProvider : IVsTaskProvider2, 
    IVsTaskProvider, IVsTaskProvider3, IDisposable
[<ComVisibleAttribute(true)>]
[<CLSCompliantAttribute(false)>]
type TaskProvider =  
    class
        interface IVsTaskProvider2
        interface IVsTaskProvider
        interface IVsTaskProvider3
        interface IDisposable
    end
public class TaskProvider implements IVsTaskProvider2, IVsTaskProvider, IVsTaskProvider3, IDisposable

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Shell.TaskProvider
    Microsoft.VisualStudio.Shell.ErrorListProvider

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

TaskProvider Members

Microsoft.VisualStudio.Shell Namespace