Click or drag to resize
Task Scheduler Managed Class Library

TriggerBuilderRunningAtMostFor(TimeSpan) Method

Specifies the maximum amount of time to repeat the execution of a trigger.

Namespace: Microsoft.Win32.TaskScheduler.Fluent
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax
C#
public TriggerBuilder RunningAtMostFor(
	TimeSpan span
)
Request Example View Source

Parameters

span  TimeSpan
The duration span.

Return Value

TriggerBuilder
TriggerBuilder instance.
See Also