<Task> Element

The type of task associated with a windows.backgroundTasks extension.

Syntax

<Task
  Type = string />  

Attributes

Type
The type of task. Allowed values are:

Element information

Parent elements BackgroundTasks

Example

<Extensions>
  <Extension Category="windows.backgroundTasks" EntryPoint="Tasks.SampleBackgroundTask">
    <BackgroundTasks>
      <Task Type="systemEvent" />
      <Task Type="timer" />
    </BackgroundTasks>  
  </Extension>
  <mx:Extension Category="xbox.live">
    <mx:XboxLive TitleId="5469766B" PrimaryServiceConfigId="076dc7ed-5828-4b76-b30a-bd260dcd19bd" />
  </mx:Extension>
</Extensions>