VsTaskLibraryHelper::CreateTaskBody Method (VsTaskBodyCallback^)

 

Creates a task body that can be consumed by the task scheduler service.

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

public:
static IVsTaskBody^ CreateTaskBody(
	VsTaskBodyCallback^ action
)

Parameters

action
Type: Microsoft.VisualStudio.Shell::VsTaskBodyCallback^

[in] Anonymous method to execute as the task body.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop::IVsTaskBody^

An implementation of IVsTaskBody.

Return to top
Show: