Share via


IBackgroundTaskRegistration.TaskId Property

Definition

Gets the identifier of a registered background task.

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

Property Value

Guid

Platform::Guid

winrt::guid

The unique identifier for the task. This identifier is generated by the system when the task is registered.

Applies to