Partager via


IVsTaskBody Interface

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

This interface and its method are used to encapsulate a body of work that is going to be executed in a task. Instead of using this interface, you should use the helper classes found in the VsTaskLibraryHelper namespace for managed or VsTaskLibraryHelper include files for native code to create instances of IVsTaskBody from anonymous methods.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("05A07459-551F-4CDF-B38A-16089D083110")> _
Public Interface IVsTaskBody
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("05A07459-551F-4CDF-B38A-16089D083110")]
public interface IVsTaskBody
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"05A07459-551F-4CDF-B38A-16089D083110")]
public interface class IVsTaskBody
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("05A07459-551F-4CDF-B38A-16089D083110")>]
type IVsTaskBody =  interface end
public interface IVsTaskBody

The IVsTaskBody type exposes the following members.

Methods

  Name Description
Public method DoWork Infrastructure. Performs the task work.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace