Click or drag to resize
Task Scheduler Managed Class Library

RepetitionPatternDuration Property

Gets or sets how long the pattern is repeated.

Namespace:  Microsoft.Win32.TaskScheduler
Assembly:  Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntax
public TimeSpan Duration { get; set; }
Request Example View Source

Property Value

Type: 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.
Remarks
If you specify a repetition duration for a task, you must also specify the repetition interval.
See Also