IVsTaskSchedulerService.ContinueWhenAllCompletedEx Method
Creates a task (using the specified options) that is run after all the given tasks are completed.
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
Function ContinueWhenAllCompletedEx ( _
context As UInteger, _
dwTasks As UInteger, _
pDependentTasks As IVsTask(), _
options As UInteger, _
pTaskBody As IVsTaskBody, _
pAsyncState As Object _
) As IVsTask
IVsTask ContinueWhenAllCompletedEx(
uint context,
uint dwTasks,
IVsTask[] pDependentTasks,
uint options,
IVsTaskBody pTaskBody,
Object pAsyncState
)
IVsTask^ ContinueWhenAllCompletedEx(
[InAttribute] unsigned int context,
[InAttribute] unsigned int dwTasks,
[InAttribute] array<IVsTask^>^ pDependentTasks,
[InAttribute] unsigned int options,
[InAttribute] IVsTaskBody^ pTaskBody,
[InAttribute] Object^ pAsyncState
)
abstract ContinueWhenAllCompletedEx :
context:uint32 *
dwTasks:uint32 *
pDependentTasks:IVsTask[] *
options:uint32 *
pTaskBody:IVsTaskBody *
pAsyncState:Object -> IVsTask
function ContinueWhenAllCompletedEx(
context : uint,
dwTasks : uint,
pDependentTasks : IVsTask[],
options : uint,
pTaskBody : IVsTaskBody,
pAsyncState : Object
) : IVsTask
Parameters
context
Type: System.UInt32[in] Where to run this task.
dwTasks
Type: System.UInt32[in] The number of tasks to wait.
pDependentTasks
Type: array<Microsoft.VisualStudio.Shell.Interop.IVsTask[][in] An array of tasks to wait.
options
Type: System.UInt32[in] The continuation options set for the task.
pTaskBody
Type: Microsoft.VisualStudio.Shell.Interop.IVsTaskBody[in] Worker method for the task.
pAsyncState
Type: System.Object[in] Asynchronous state for the task.
Return Value
Type: Microsoft.VisualStudio.Shell.Interop.IVsTask
The created task that runs after all of the other tasks have completed.
Remarks
The task service takes ownership of dependent tasks after this call.
.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.