desktop10:PredefinedTriggerEvents
Describes predefined trigger events for the current service.
Element hierarchy
<desktop10:PredefinedTriggerEvents>
Syntax
<desktop10:PredefinedTriggerEvents
Action = 'A string that can have one of the following values: "ActionStart" or "ActionStop".'
Subtype = 'A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.'
TriggerType = 'A string that can have one of the following values: "DeviceInterfaceArrival", "DomainJoin", "FirewallPortEvent", "GroupPolicy", "IPAddressAvailability", or "NetworkEndpoint".' >
desktop10:StringData{0,1000}
desktop10:BinaryData{0,1000}
desktop10:LevelData{0,1000}
desktop10:KeywordAnyData{0,1000}
desktop10:KeywordAllData{0,1000}
</desktop10:PredefinedTriggerEvents>
Key
{}
specific range of occurrences
Attributes and elements
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 or 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, or NetworkEndpoint. | Yes |
Child elements
Child element | Description |
---|---|
desktop6:StringData | Specifies one or more string data values for the trigger event. |
desktop6:BinaryData | Specifies binary data for the trigger event. |
desktop6:LevelData | Specifies a byte value for the trigger event. |
desktop6:KeywordAnyData | Specifies a 64-bit unsigned integer value for the trigger event. |
desktop6:KeywordAllData | Specifies a 64-bit unsigned integer value for the trigger event. |
Parent elements
Parent element | Description |
---|---|
dekstop10:Extension | Declares an extensibility point for the app (in Package/Extensions; desktop10:Extension). |
Remarks
This element requires the packagedServices or localSystemServices restricted capability.
Requirements
Item | Value |
---|---|
desktop10 | http://schemas.microsoft.com/appx/manifest/desktop/windows10/10 |
Minimum OS Version | Windows 11 version 22H2 (Build 22621) |