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 a trigger event for the current service.
Element hierarchy
<Package>
└─ <Extensions>
└─ <desktop6:Extension>
└─ <desktop6:Service>
└─ <desktop6:TriggerEvents>
└─ <desktop6:TriggerCustom>
└─ <Applications>
└─ <Application>
└─ <Extensions>
└─ <desktop6:Extension>
└─ <desktop6:Service>
└─ <desktop6:TriggerEvents>
└─ <desktop6:TriggerCustom>
Syntax
<desktop6:TriggerCustom
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.' >
<!-- Child elements -->
desktop6:StringData{1,10000}
desktop6:BinaryData{1,10000}
desktop6:LevelData{1,10000}
desktop6:KeywordAnyData{1,10000}
desktop6:KeywordAllData{1,10000}
</desktop6:TriggerCustom>
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 |
Child elements
| Child element | Description |
|---|---|
| desktop6:StringData | Specifies one or more string data values for a trigger event of a service. |
| desktop6:BinaryData | Specifies binary data for a trigger event of a service. |
| desktop6:LevelData | Specifies a byte value for a trigger event of a service. |
| desktop6:KeywordAnyData | Specifies a 64-bit unsigned integer value for a trigger event of a service. |
| desktop6:KeywordAllData | Specifies a 64-bit unsigned integer value for a trigger event of a service. |
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/6 |
| Minimum OS Version | Windows 10 version 1903 (Build 18362) |
Remarks
This element requires the packagedServices or localSystemServices restricted capability.