Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.37 KB

appresourcegroupbackgroundtaskreport_entrypoint.md

File metadata and controls

44 lines (34 loc) · 1.37 KB
-api-id -api-type
P:Windows.System.AppResourceGroupBackgroundTaskReport.EntryPoint
winrt property

Windows.System.AppResourceGroupBackgroundTaskReport.EntryPoint

-description

Gets the name of the background task entry point.

-property-value

The name of the entry point as specified in the app manifest.

-remarks

The entry point string is taken from the definition in the manifest. For example, the EntryPoint string will be "Tasks.BackgroundTaskClass" for a manifest that contains the following declaration:

<Extension Category="windows.backgroundTasks" EntryPoint="Tasks.BackgroundTaskClass">
    <BackgroundTasks>
        <Task Type="systemEvent" />
        <Task Type="pushNotification" />
    </BackgroundTasks>
</Extension>

For JavaScript tasks, the entry point string is taken from the value of the StartPage attribute in the background task registration. For example, the entry point string will be "js\completionGroupBackgroundTask.js" for a manifest that contains the following declaration:

<Extension Category="windows.backgroundTasks" StartPage="js\completionGroupBackgroundTask.js">
  <BackgroundTasks>
    <Task Type="general" />
  </BackgroundTasks>
</Extension>

-see-also

-examples

-capabilities

appDiagnostics