Click or drag to resize
Task Scheduler Managed Class Library

TaskLastRunTime Property

Gets the time the registered task was last run.

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax
C#
public DateTime LastRunTime { get; }
Request Example View Source

Property Value

DateTime
Returns MinValue if there are no prior run times.
See Also