Dela via


StartupTaskActivatedEventArgs.TaskId Property

Definition

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

String

Platform::String

winrt::hstring

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.

Applies to