IVsTaskSchedulerService.ContinueWhenAllCompletedEx-Methode: (UInt32, UInt32, IVsTask , UInt32, IVsTaskBody, Object)

 

Veröffentlicht: Oktober 2016

Erstellt eine Aufgabe (mit den angegebenen Optionen), die ausgeführt wird, wenn alle angegebenen Aufgaben abgeschlossen sind.

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

Syntax

IVsTask ContinueWhenAllCompletedEx(
    uint context,
    uint dwTasks,
    IVsTask[] pDependentTasks,
    uint options,
    IVsTaskBody pTaskBody,
    object pAsyncState
)
IVsTask^ ContinueWhenAllCompletedEx(
    unsigned int context,
    unsigned int dwTasks,
    array<IVsTask^>^ pDependentTasks,
    unsigned int options,
    IVsTaskBody^ pTaskBody,
    Object^ pAsyncState
)
abstract ContinueWhenAllCompletedEx : 
        context:uint32 *
        dwTasks:uint32 *
        pDependentTasks:IVsTask[] *
        options:uint32 *
        pTaskBody:IVsTaskBody *
        pAsyncState:Object -> IVsTask
Function ContinueWhenAllCompletedEx (
    context As UInteger,
    dwTasks As UInteger,
    pDependentTasks As IVsTask(),
    options As UInteger,
    pTaskBody As IVsTaskBody,
    pAsyncState As Object
) 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.

  • options
    Type: System.UInt32

    [in] Die Fortsetzungsoptionen festlegen, für den Vorgang.

  • pAsyncState
    Type: System.Object

    [in] Asynchrone Status für den Vorgang.

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