Share via


desktop:StartupTasks

表示在應用程式啟動期間執行的桌面進程。

元素階層

<套件>

      <應用程式>

            <應用程式>

                  <擴充功能>

                        <Desktop:Extension>

                              <\Desktop:StartupTasks>

Syntax

<desktop:StartupTasks
  TaskId = 'A string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.'
  Enabled = 'A boolean value.'
  DisplayName = 'A string with a value between 1 and 256 characters in length. This string is localizable.'
  rescap5:ImmediateRegistration =  'A boolean value.' />

屬性和元素

屬性

屬性 描述 資料類型 必要 預設值
TaskId 工作的唯一識別碼。 長度介於 1 到 32767 個字元之間的字串,其開頭和結尾具有非空白字元。
啟用 指出是否啟用工作。 布林值。 No
DisplayName 要向使用者顯示的使用者易記名稱。 長度介於 1 到 256 個字元之間的字串。 這個字串可當地語系化。 No
rescap5:ImmediateRegistration 指出是否應該立即註冊工作。 布林值 No

子元素

父元素

父元素 描述
desktop:Extension 宣告應用程式的擴充點。

規格需求

Item
Desktop (電腦) http://schemas.microsoft.com/appx/manifest/desktop/windows10
Rescap3 http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities/5
OS 最低版本 Windows 10版本 1607 (組建 14393)