 | RepetitionPatternDuration Property |
Gets or sets how long the pattern is repeated.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax[DefaultValueAttribute(typeof(TimeSpan), "00:00:00")]
public TimeSpan Duration { get; set; }
Request Example
View SourceProperty Value
TimeSpan
The duration that the pattern is repeated. The minimum time allowed is one minute. If
TimeSpan.Zero is specified, the
pattern is repeated indefinitely.
RemarksIf you specify a repetition duration for a task, you must also specify the repetition interval.
See Also