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.11.0 (in Microsoft.VisualStudio.Shell.11.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
pTask
Type: Microsoft.VisualStudio.Shell.Interop.IVsTaskThe task.
dwCount
Type: System.UInt32The number of parent tasks.
pParentTasks
Type: array<Microsoft.VisualStudio.Shell.Interop.IVsTask[]The parent tasks.
pResult
Type: System.Object%The result.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.