Share via


工作 (Windows 10)

與應用程式擴充點相關聯的背景工作。

元素階層

<套件>

    <應用程式>

         <Application>

              <延伸模組>

                   <擴展>

                        <BackgroundTasks>

                             <Task>

語法

<Task
  Type = 'A string that can have one of the following values: "general", "audio", "controlChannel", "systemEvent", "timer", "pushNotification", "location", "deviceUse", "deviceServicing", "deviceConnectionChange" or "bluetooth".' />

屬性和元素

屬性

屬性 描述 資料類型 必要 預設值
型別 工作類型。 可具有下列其中一個值的字串:一般音訊controlChannelsystemEventtimerpushNotificationlocationdeviceUse、deviceServicingdeviceConnectionChangebluetooth Yes

子元素

無。

父元素

父元素 描述
BackgroundTasks 定義 windows.backgroundTasks類型的應用程式擴充點。 背景工作會在專用背景主機中執行;也就是說,沒有 UI。

規格需求

Item
Namespace http://schemas.microsoft.com/appx/manifest/foundation/windows10