desktop6:TriggerCustom

Description

Describes a trigger event for the current service.

Element hierarchy

<Package>

    <Applications>

         <Application>

              <Extensions>

                   <desktop6:Extension>

                        <desktop6:Service>

                             <desktop6:TriggerEvents>

                                  <desktop6:TriggerCustom>

Syntax

<desktop6:TriggerCustom
  Action = 'A string that can be one of The following values: "ActionStart" or "ActionStop".'
  Subtype = 'A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.' >

  desktop6:StringData{0,1000}
  desktop6:BinaryData{0,1000}
  desktop6:LevelData{0,1000}
  desktop6:KeywordAnyData{0,1000}
  desktop6:KeywordAllData{0,1000}

</desktop6:TriggerCustom>

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 be 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

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
TriggerEvents Describes one or more trigger events for the current service.

Remarks

This element requires the packagedServices or localSystemServices restricted capability.

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/desktop/windows10/6
Minimum OS Version Windows 10 version 1903 (Build 18362)