Szerkesztés

Megosztás a következőn keresztül:


multipleInstancesPolicyType Simple Type

Defines the instance policy constants for the MultipleInstancesPolicy (settingsType) element.

<xs:simpleType name="multipleInstancesPolicyType">
    <xs:restriction
        base="string"
    >
        <xs:enumeration
            value="Parallel"
         />
        <xs:enumeration
            value="Queue"
         />
        <xs:enumeration
            value="IgnoreNew"
         />
        <xs:enumeration
            value="StopExisting"
         />
    </xs:restriction>
</xs:simpleType>

Enumeration values

The multipleInstancesPolicyType simple type defines the following values.

Value Description
Parallel Starts new instance while an existing instance is running.
Queue Starts new instance of task after all other instances of the task are complete.
IgnoreNew Default. Does not start new instance if an existing instance of the task is running.
StopExisting Stops an existing instance of the task before it starts new instance.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]

See also

Task Scheduler Schema Simple Types

Task Scheduler