Class WindowsScheduledTaskSettings
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents the settings used for running a scheduled task
public class WindowsScheduledTaskSettings : GlobalSerializableClassicBase
- Inheritance
-
WindowsScheduledTaskSettings
Constructors
WindowsScheduledTaskSettings()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsScheduledTaskSettings class.
public WindowsScheduledTaskSettings()
Properties
AllowHardTerminate
Gets or sets whether to force a running task to stop if it does not end when requested.
public BooleanOption AllowHardTerminate { get; set; }
Property Value
AllowStartOnDemand
Gets or sets whether the task is allowed to be started on demand.
public BooleanOption AllowStartOnDemand { get; set; }
Property Value
DeleteExpiredTaskAfter
Gets or sets the time after which the task should be deleted as a timespan value - for example "P1D".
public string DeleteExpiredTaskAfter { get; set; }
Property Value
DeleteExpiredTaskAfterString
Gets whether a task is not scheduled to run again should be deleted.
public string DeleteExpiredTaskAfterString { get; }
Property Value
ExecutionTimeLimit
Gets or sets the execution time limit as a timespan value - for example "P1D".
public string ExecutionTimeLimit { get; set; }
Property Value
ExecutionTimeLimitString
Gets the execution time limit for this task as a human readable string.
public string ExecutionTimeLimitString { get; }
Property Value
MultipleInstancesPolicy
Gets or sets the action to take when a scheduled task starts and an existing scheduled task is already running.
public WindowsScheduledTaskMultipleInstancesPolicy MultipleInstancesPolicy { get; set; }
Property Value
MultipleInstancesPolicyString
Gets the action to take when a scheduled task starts and an existing scheduled task is already running.
public string MultipleInstancesPolicyString { get; }
Property Value
RestartCount
Gets or sets the restart count for the task.
public int RestartCount { get; set; }
Property Value
RestartInterval
Gets or sets the restart interval for the task in timespan format.
public string RestartInterval { get; set; }
Property Value
RestartString
Gets the restart action for this task as a human readable string.
public string RestartString { get; }
Property Value
StartWhenAvailable
Gets or sets whether to run the task as soon as possible after a scheduled start is missed.
public BooleanOption StartWhenAvailable { get; set; }