 | 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
Syntaxpublic TimeSpan Duration { get; set; }
Public Property Duration As TimeSpan
Get
Set
public:
property TimeSpan Duration {
TimeSpan get ();
void set (TimeSpan value);
}
Request Example
View SourceProperty 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.
RemarksIf you specify a repetition duration for a task, you must also specify the repetition interval.
See Also