BackgroundTaskRegistration.TaskId 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 identifier of a registered background task.
public:
property Platform::Guid TaskId { Platform::Guid get(); };
winrt::guid TaskId();
public Guid TaskId { get; }
var guid = backgroundTaskRegistration.taskId;
Public ReadOnly Property TaskId As Guid
Property Value
The unique identifier for the task. This identifier is generated by the system when the task is registered.