desktop6:TriggerCustom
Description
描述目前服務的觸發程式事件。
元素階層
<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>
答案
{}
特定出現的範圍
屬性和元素
屬性
屬性 | 描述 | 資料類型 | 必要 | 預設值 |
---|---|---|---|---|
動作 | 觸發程式的動作類型。 | 可以是下列其中一個值的字串:「ActionStart」 或 「ActionStop」。 | Yes | |
子類型 | 識別觸發程式事件子類型的 GUID。 | 格式為 xxxxxxxx-xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxx 的 GUID。 | Yes |
子元素
子項目 | 描述 |
---|---|
desktop6:StringData | 指定觸發程式事件的一或多個字串資料值。 |
desktop6:BinaryData | 指定觸發程式事件的二進位資料。 |
desktop6:LevelData | 指定觸發程式的位元組值。 |
desktop6:KeywordAnyData | 指定觸發程式事件的 64 位不帶正負號的整數值。 |
desktop6:KeywordAllData | 指定觸發程式事件的 64 位不帶正負號的整數值。 |
父元素
父元素 | 描述 |
---|---|
TriggerEvents | 描述目前服務的一或多個觸發程式事件。 |
備註
此元素需要 packagedServices 或 localSystemServices受限制的功能。
規格需求
Item | 值 |
---|---|
命名空間 | http://schemas.microsoft.com/appx/manifest/desktop/windows10/6 |
OS 最低版本 | Windows 10版本 1903 (組建 18362) |
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應