Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Describes predefined trigger events for the current service.
Element hierarchy
<Package>
└─ <Extensions>
└─ <desktop10:Extension>
└─ <desktop10:Service>
└─ <desktop10:TriggerEvents>
└─ <desktop10:PredefinedTriggerEvents>
└─ <Applications>
└─ <Application>
└─ <Extensions>
└─ <desktop10:Extension>
└─ <desktop10:Service>
└─ <desktop10:TriggerEvents>
└─ <desktop10:PredefinedTriggerEvents>
Syntax
<desktop10:PredefinedTriggerEvents
Action = 'A required string that can have one of the following values: "ActionStart", or "ActionStop".'
Subtype = 'A required GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.'
TriggerType = 'A required string that can have one of the following values: "deviceInterfaceArrival", "domainJoin", "firewallPortEvent", "groupPolicy", "ipAddressAvailability", or "networkEndpoint".' >
<!-- Child elements -->
desktop10:StringData{0,10000}
desktop10:BinaryData{0,10000}
desktop10:LevelData{0,10000}
desktop10:KeywordAnyData{0,10000}
desktop10:KeywordAllData{0,10000}
</desktop10:PredefinedTriggerEvents>
Key
{} specific range of occurrences
Attributes
| Attribute | Description | Data type | Required | Default value |
|---|---|---|---|---|
| Action | The action type for the trigger event. | A string that can have one of the following values: ActionStart, ActionStop. | Yes | |
| Subtype | A GUID that identifies the trigger event subtype. | A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. | Yes | |
| TriggerType | The trigger type. | A string that can have one of the following values: deviceInterfaceArrival, domainJoin, firewallPortEvent, groupPolicy, ipAddressAvailability, networkEndpoint. | Yes |
Child elements
| Child element | Description |
|---|---|
| desktop10:StringData | |
| desktop10:BinaryData | |
| desktop10:LevelData | |
| desktop10:KeywordAnyData | |
| desktop10:KeywordAllData |
Parent elements
| Parent element | Description |
|---|---|
| desktop6:TriggerEvents | Describes one or more trigger events for the current service. |
Requirements
| Item | Value |
|---|---|
| Namespace | http://schemas.microsoft.com/appx/manifest/desktop/windows10/10 |
| Minimum OS Version | Windows 11 version 22H2 (Build 22621) |
Remarks
This element requires the packagedServices or localSystemServices restricted capability.