Partilhar via


IVsTaskBody Interface

Definition

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.

public interface class IVsTaskBody
public interface class IVsTaskBody
__interface IVsTaskBody
public interface IVsTaskBody
[System.Runtime.InteropServices.Guid("05A07459-551F-4CDF-B38A-16089D083110")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTaskBody
type IVsTaskBody = interface
[<System.Runtime.InteropServices.Guid("05A07459-551F-4CDF-B38A-16089D083110")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTaskBody = interface
Public Interface IVsTaskBody
Attributes

Remarks

This interface is safe to access from any thread.

Methods

DoWork(IVsTask, UInt32, IVsTask[], Object)

Performs the task work.

Applies to