TriggerExecutionTimeLimit Property

Gets or sets the maximum amount of time that the task launched by this trigger is allowed to run. Not available with Task Scheduler 1.0.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.0
[DefaultValueAttribute(typeof(TimeSpan), "00:00:00")]
[XmlIgnoreAttribute]
public TimeSpan ExecutionTimeLimit { get; set; }

Property Value

TimeSpan

Exceptions

NotV1SupportedExceptionNot supported under Task Scheduler 1.0.

See Also