AppTaskInfo.StartTime Property

Definition

Gets the time when this task was created.

public:
 property DateTime StartTime { DateTime get(); };
/// [Windows.Foundation.Metadata.Experimental]
/// [get: Windows.Foundation.Metadata.Experimental]
DateTime StartTime();
[Windows.Foundation.Metadata.Experimental]
public System.DateTimeOffset StartTime { [Windows.Foundation.Metadata.Experimental] get; }
var dateTime = appTaskInfo.startTime;
Public ReadOnly Property StartTime As DateTimeOffset

Property Value

The time when this task was created.

Attributes

Remarks

Important

App task support will start gradually rolling out to Windows 11 starting May, 2026. The experiences enabled by Windows.UI.Shell.Tasks APIs require that the corresponding app task feature be present in the version of Windows where the app runs. Otherwise, these APIs will not have any effect.

Applies to