<BackgroundTasks> Element

Defines an app extensibility point of type windows.backgroundTasks. Background tasks run in a dedicated background host.

This element is optional.

Syntax

<BackgroundTasks >
</BackgroundTasks>  

Element information

Parent elements Extension
Child elements Task

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>