Delen via


AppResourceGroupBackgroundTaskReport.TaskId Property

Definition

Gets the background task's identifier.

public:
 property Platform::Guid TaskId { Platform::Guid get(); };
winrt::guid TaskId();
public Guid TaskId { get; }
var guid = appResourceGroupBackgroundTaskReport.taskId;
Public ReadOnly Property TaskId As Guid

Property Value

Guid

Platform::Guid

winrt::guid

The background task GUID.

Windows requirements

App capabilities
appDiagnostics

Remarks

The identifier is an internally generated session-unique identifier. You can use it to disambiguate multiple background task instances.

Applies to