Task (Windows 10)

The background task associated with the app extensibility point.

Element hierarchy

<Package>

    <Applications>

         <Application>

              <Extensions>

                   <Extension>

                        <BackgroundTasks>

                             <Task>

Syntax

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

Attributes and elements

Attributes

Attribute Description Data type Required Default value
Type The task type. A string that can have one of the following values: general, audio, controlChannel, systemEvent, timer, pushNotification, location, deviceUse, deviceServicing, deviceConnectionChange or bluetooth. Yes

Child elements

None.

Parent elements

Parent element Description
BackgroundTasks Defines an app extensibility point of type windows.backgroundTasks. Background tasks run in a dedicated background host; that is, without a UI.

Requirements

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