AppTaskInfo.EndTime 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 time when this task reached an ending state (such as Completed or Error).
public:
property IReference<DateTime> ^ EndTime { IReference<DateTime> ^ get(); };
/// [Windows.Foundation.Metadata.Experimental]
/// [get: Windows.Foundation.Metadata.Experimental]
IReference<DateTime> EndTime();
[Windows.Foundation.Metadata.Experimental]
public System.Nullable<System.DateTimeOffset> EndTime { [Windows.Foundation.Metadata.Experimental] get; }
var iReference = appTaskInfo.endTime;
Public ReadOnly Property EndTime As Nullable(Of DateTimeOffset)
Property Value
The time when the task reached an ending state (such as Completed or Error), or null if the task has not ended.
- 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.