VsTaskLibraryHelper.CreateTaskBody<T> Method (Func<T, Object>)

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

Syntax

'Declaration
Public Shared Function CreateTaskBody(Of T) ( _
    action As Func(Of T, Object) _
) As IVsTaskBody
public static IVsTaskBody CreateTaskBody<T>(
    Func<T, Object> action
)
public:
generic<typename T>
static IVsTaskBody^ CreateTaskBody(
    Func<T, Object^>^ action
)
static member CreateTaskBody : 
        action:Func<'T, Object> -> IVsTaskBody
JScript does not support generic types or methods.

Type Parameters

  • T

Parameters

  • action
    Type: Func<T, Object>

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsTaskBody

.NET Framework Security

See Also

Reference

VsTaskLibraryHelper Class

CreateTaskBody Overload

Microsoft.VisualStudio.Shell Namespace