IVsTaskSchedulerService.ContinueWhenAllCompleted-Methode: (UInt32, UInt32, IVsTask , IVsTaskBody)

 

Veröffentlicht: Oktober 2016

Erstellt eine Asynchrous-Aufgabe, die ausgeführt wird, nachdem alle bereitgestellten Aufgaben haben die Ausführung entweder abgeschlossen oder wurde abgebrochen.

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

Syntax

IVsTask ContinueWhenAllCompleted(
    uint context,
    uint dwTasks,
    IVsTask[] pDependentTasks,
    IVsTaskBody pTaskBody
)
IVsTask^ ContinueWhenAllCompleted(
    unsigned int context,
    unsigned int dwTasks,
    array<IVsTask^>^ pDependentTasks,
    IVsTaskBody^ pTaskBody
)
abstract ContinueWhenAllCompleted : 
        context:uint32 *
        dwTasks:uint32 *
        pDependentTasks:IVsTask[] *
        pTaskBody:IVsTaskBody -> IVsTask
Function ContinueWhenAllCompleted (
    context As UInteger,
    dwTasks As UInteger,
    pDependentTasks As IVsTask(),
    pTaskBody As IVsTaskBody
) As IVsTask

Parameter

  • context
    Type: System.UInt32

    [in] Die Position, um diesen Task auszuführen.

  • dwTasks
    Type: System.UInt32

    [in] Die Anzahl der Aufgaben zu warten.

Rückgabewert

Type: Microsoft.VisualStudio.Shell.Interop.IVsTask

Die erstellte Aufgabe, die ausgeführt wird nach allen anderen Aufgaben abgeschlossen wurden.

Hinweise

Der Task-Dienst übernimmt den Besitz des abhängige Aufgaben nach dem Aufruf.

Siehe auch

IVsTaskSchedulerService-Schnittstelle
Microsoft.VisualStudio.Shell.Interop-Namespace

Zurück zum Anfang