Partager via


VsTaskLibraryHelper.ContinueWhenAllCompleted Method

Definition

Overloads

ContinueWhenAllCompleted(IVsTaskSchedulerService, VsTaskRunContext, IVsTask[], IVsTaskBody)

Override for IVsTaskSchedulerService.ContinueWhenAllCompleted to use proper enum types.

ContinueWhenAllCompleted(IVsTaskSchedulerService, VsTaskRunContext, IVsTask[], VsTaskContinuationOptions, IVsTaskBody, Object)

Override for IVsTaskSchedulerService.ContinueWhenAllCompletedEx to use proper enum types.

ContinueWhenAllCompleted(IVsTaskSchedulerService, VsTaskRunContext, IVsTask[], IVsTaskBody)

Override for IVsTaskSchedulerService.ContinueWhenAllCompleted to use proper enum types.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::VisualStudio::Shell::Interop::IVsTask ^ ContinueWhenAllCompleted(Microsoft::VisualStudio::Shell::Interop::IVsTaskSchedulerService ^ service, Microsoft::VisualStudio::Shell::VsTaskRunContext context, cli::array <Microsoft::VisualStudio::Shell::Interop::IVsTask ^> ^ dependentTasks, Microsoft::VisualStudio::Shell::Interop::IVsTaskBody ^ taskBody);
public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::VisualStudio::Shell::Interop::IVsTask ^ ContinueWhenAllCompleted(Microsoft::VisualStudio::Shell::Interop::IVsTaskSchedulerService ^ service, Microsoft::VisualStudio::Shell::VsTaskRunContext context, Platform::Array <Microsoft::VisualStudio::Shell::Interop::IVsTask ^> ^ dependentTasks, Microsoft::VisualStudio::Shell::Interop::IVsTaskBody ^ taskBody);
public static Microsoft.VisualStudio.Shell.Interop.IVsTask ContinueWhenAllCompleted (this Microsoft.VisualStudio.Shell.Interop.IVsTaskSchedulerService service, Microsoft.VisualStudio.Shell.VsTaskRunContext context, Microsoft.VisualStudio.Shell.Interop.IVsTask[] dependentTasks, Microsoft.VisualStudio.Shell.Interop.IVsTaskBody taskBody);
static member ContinueWhenAllCompleted : Microsoft.VisualStudio.Shell.Interop.IVsTaskSchedulerService * Microsoft.VisualStudio.Shell.VsTaskRunContext * Microsoft.VisualStudio.Shell.Interop.IVsTask[] * Microsoft.VisualStudio.Shell.Interop.IVsTaskBody -> Microsoft.VisualStudio.Shell.Interop.IVsTask
<Extension()>
Public Function ContinueWhenAllCompleted (service As IVsTaskSchedulerService, context As VsTaskRunContext, dependentTasks As IVsTask(), taskBody As IVsTaskBody) As IVsTask

Parameters

service
IVsTaskSchedulerService

[in] The task scheduler service to use to create the task.

context
VsTaskRunContext

[in] Where to run this task.

dependentTasks
IVsTask[]

[in] An array of tasks to wait.

taskBody
IVsTaskBody

[in] Worker method for the task.

Returns

The task scheduler service that's creating the task.

Remarks

See comments for IVsTaskSchedulerService for method documentation.

Applies to

ContinueWhenAllCompleted(IVsTaskSchedulerService, VsTaskRunContext, IVsTask[], VsTaskContinuationOptions, IVsTaskBody, Object)

Override for IVsTaskSchedulerService.ContinueWhenAllCompletedEx to use proper enum types.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::VisualStudio::Shell::Interop::IVsTask ^ ContinueWhenAllCompleted(Microsoft::VisualStudio::Shell::Interop::IVsTaskSchedulerService ^ service, Microsoft::VisualStudio::Shell::VsTaskRunContext context, cli::array <Microsoft::VisualStudio::Shell::Interop::IVsTask ^> ^ dependentTasks, Microsoft::VisualStudio::Shell::VsTaskContinuationOptions options, Microsoft::VisualStudio::Shell::Interop::IVsTaskBody ^ taskBody, System::Object ^ asyncState);
public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::VisualStudio::Shell::Interop::IVsTask ^ ContinueWhenAllCompleted(Microsoft::VisualStudio::Shell::Interop::IVsTaskSchedulerService ^ service, Microsoft::VisualStudio::Shell::VsTaskRunContext context, Platform::Array <Microsoft::VisualStudio::Shell::Interop::IVsTask ^> ^ dependentTasks, Microsoft::VisualStudio::Shell::VsTaskContinuationOptions options, Microsoft::VisualStudio::Shell::Interop::IVsTaskBody ^ taskBody, Platform::Object ^ asyncState);
public static Microsoft.VisualStudio.Shell.Interop.IVsTask ContinueWhenAllCompleted (this Microsoft.VisualStudio.Shell.Interop.IVsTaskSchedulerService service, Microsoft.VisualStudio.Shell.VsTaskRunContext context, Microsoft.VisualStudio.Shell.Interop.IVsTask[] dependentTasks, Microsoft.VisualStudio.Shell.VsTaskContinuationOptions options, Microsoft.VisualStudio.Shell.Interop.IVsTaskBody taskBody, object asyncState);
static member ContinueWhenAllCompleted : Microsoft.VisualStudio.Shell.Interop.IVsTaskSchedulerService * Microsoft.VisualStudio.Shell.VsTaskRunContext * Microsoft.VisualStudio.Shell.Interop.IVsTask[] * Microsoft.VisualStudio.Shell.VsTaskContinuationOptions * Microsoft.VisualStudio.Shell.Interop.IVsTaskBody * obj -> Microsoft.VisualStudio.Shell.Interop.IVsTask
<Extension()>
Public Function ContinueWhenAllCompleted (service As IVsTaskSchedulerService, context As VsTaskRunContext, dependentTasks As IVsTask(), options As VsTaskContinuationOptions, taskBody As IVsTaskBody, asyncState As Object) As IVsTask

Parameters

service
IVsTaskSchedulerService

[in] The task scheduler service to use to create the task.

context
VsTaskRunContext

[in] Where to run this task.

dependentTasks
IVsTask[]

[in] An array of tasks to wait.

options
VsTaskContinuationOptions

[in] The continuation options set for the task.

taskBody
IVsTaskBody

[in] Worker method for the task.

asyncState
Object

[in] The asynchronous state for the task.

Returns

The task scheduler service that's creating the task.

Remarks

See comments for IVsTaskSchedulerService for method documentation.

Applies to