VsTaskLibraryHelper.ContinueWhenAllCompleted Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| ContinueWhenAllCompleted(IVsTaskSchedulerService, VsTaskRunContext, IVsTask[], IVsTaskBody) |
Remplacement de IVsTaskSchedulerService. ContinueWhenAllCompleted pour utiliser des types d’énumération appropriés. |
| ContinueWhenAllCompleted(IVsTaskSchedulerService, VsTaskRunContext, IVsTask[], VsTaskContinuationOptions, IVsTaskBody, Object) |
Remplacement de IVsTaskSchedulerService. ContinueWhenAllCompletedEx pour utiliser des types d’énumération appropriés. |
ContinueWhenAllCompleted(IVsTaskSchedulerService, VsTaskRunContext, IVsTask[], IVsTaskBody)
Remplacement de IVsTaskSchedulerService. ContinueWhenAllCompleted pour utiliser des types d’énumération appropriés.
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
Paramètres
- service
- IVsTaskSchedulerService
[in] Service du Planificateur de tâches à utiliser pour créer la tâche.
- context
- VsTaskRunContext
[in] Où exécuter cette tâche.
- dependentTasks
- IVsTask[]
[in] Tableau des tâches à attendre.
- taskBody
- IVsTaskBody
[in] Méthode de travail de la tâche.
Retours
Service du planificateur de tâches qui crée la tâche.
Remarques
Pour plus d’informations sur la méthode, consultez les commentaires de IVsTaskSchedulerService.
S’applique à
ContinueWhenAllCompleted(IVsTaskSchedulerService, VsTaskRunContext, IVsTask[], VsTaskContinuationOptions, IVsTaskBody, Object)
Remplacement de IVsTaskSchedulerService. ContinueWhenAllCompletedEx pour utiliser des types d’énumération appropriés.
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
Paramètres
- service
- IVsTaskSchedulerService
[in] Service du Planificateur de tâches à utiliser pour créer la tâche.
- context
- VsTaskRunContext
[in] Où exécuter cette tâche.
- dependentTasks
- IVsTask[]
[in] Tableau des tâches à attendre.
- options
- VsTaskContinuationOptions
[in] Options de continuation définies pour la tâche.
- taskBody
- IVsTaskBody
[in] Méthode de travail de la tâche.
- asyncState
- Object
dans État asynchrone de la tâche.
Retours
Service du planificateur de tâches qui crée la tâche.
Remarques
Pour plus d’informations sur la méthode, consultez les commentaires de IVsTaskSchedulerService.