VsTaskLibraryHelper::CreateTaskBody Method (Func<Object^>^)

 

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(
	Func<Object^>^ action
)

Parameters

action
Type: System::Func<Object^>^

An anonymous method to execute as the task body.

Return to top
Show: