StartupTaskActivatedEventArgs.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 unique identifier for your task.
public:
property Platform::String ^ TaskId { Platform::String ^ get(); };
winrt::hstring TaskId();
public string TaskId { get; }
var string = startupTaskActivatedEventArgs.taskId;
Public ReadOnly Property TaskId As String
Property Value
Implements
Remarks
The task identifier is specified in the manifest of the app. You can use this identifier to call the APIs in the Windows.ApplicationModel.StartupTask class to programmatically enable or disable a startup task.