AppResourceGroupBackgroundTaskReport.EntryPoint Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the name of the background task entry point.
public:
property Platform::String ^ EntryPoint { Platform::String ^ get(); };
winrt::hstring EntryPoint();
public string EntryPoint { get; }
var string = appResourceGroupBackgroundTaskReport.entryPoint;
Public ReadOnly Property EntryPoint As String
Property Value
The name of the entry point as specified in the app manifest.
Windows requirements
App capabilities |
appDiagnostics
|
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>
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin