Compartir a través de


IVsTaskBody.DoWork Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Performs the task work.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
Sub DoWork ( _
    pTask As IVsTask, _
    dwCount As UInteger, _
    pParentTasks As IVsTask(), _
    <OutAttribute> ByRef pResult As Object _
)
void DoWork(
    IVsTask pTask,
    uint dwCount,
    IVsTask[] pParentTasks,
    out Object pResult
)
void DoWork(
    [InAttribute] IVsTask^ pTask, 
    [InAttribute] unsigned int dwCount, 
    [InAttribute] array<IVsTask^>^ pParentTasks, 
    [OutAttribute] Object^% pResult
)
abstract DoWork : 
        pTask:IVsTask * 
        dwCount:uint32 * 
        pParentTasks:IVsTask[] * 
        pResult:Object byref -> unit
function DoWork(
    pTask : IVsTask, 
    dwCount : uint, 
    pParentTasks : IVsTask[], 
    pResult : Object
)

Parameters

  • dwCount
    Type: UInt32

    The number of parent tasks.

  • pResult
    Type: Object%

    The result.

.NET Framework Security

See Also

Reference

IVsTaskBody Interface

Microsoft.VisualStudio.Shell.Interop Namespace