AppResourceGroupBackgroundTaskReport.Name 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.
public:
property Platform::String ^ Name { Platform::String ^ get(); };
winrt::hstring Name();
public string Name { get; }
var string = appResourceGroupBackgroundTaskReport.name;
Public ReadOnly Property Name As String
Property Value
The background task name.
Windows requirements
App capabilities |
appDiagnostics
|
Remarks
This is the name supplied by the app when it registered the task with BackgroundTaskBuilder
Some background tasks do not have names and will return an empty string because they are not explicitly registered. For example, background audio playback tasks and app-service tasks.