다음을 통해 공유


VsTaskLibraryHelper.CreateTaskBody Method (Action)

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

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

Syntax

‘선언
Public Shared Function CreateTaskBody ( _
    action As Action _
) As IVsTaskBody
public static IVsTaskBody CreateTaskBody(
    Action action
)

Parameters

  • action
    Type: System.Action
    [in] Anonymous method to execute as the task body.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsTaskBody
An implementation of IVsTaskBody.

.NET Framework Security

See Also

Reference

VsTaskLibraryHelper Class

CreateTaskBody Overload

Microsoft.VisualStudio.Shell Namespace