Click or drag to resize
Task Scheduler Managed Class Library

TriggerBuilder Class

Fluent helper class. Not intended for use.
Inheritance Hierarchy

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

The TriggerBuilder type exposes the following members.

Properties
 NameDescription
Public propertyWhenTransitions to settings syntax.
(Inherited from BaseBuilder)
Top
Methods
 NameDescription
Public methodAsTask(String)Assigns the name of the task and registers it.
(Inherited from BaseBuilder)
Public methodAsTask(String, TaskCreation, String, String, TaskLogonType)Assigns the name of the task and registers it.
(Inherited from BaseBuilder)
Public methodEnding(DateTime)Specifies a date and time on which a trigger will no longer run.
Public methodEnding(String)Specifies a date and time on which a trigger will no longer run.
Public methodEnding(Int32, Int32, Int32)Specifies a date on which a trigger will no longer run.
Public methodEnding(Int32, Int32, Int32, Int32, Int32, Int32)Specifies a date and time on which a trigger will no longer run.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsDisabledDetermines whether this trigger is disabled.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRepeatingEvery(String)Specifies a repetition interval for the trigger.
Public methodRepeatingEvery(TimeSpan)Specifies a repetition interval for the trigger.
Public methodRunningAtMostFor(String)Specifies the maximum amount of time to repeat the execution of a trigger.
Public methodRunningAtMostFor(TimeSpan)Specifies the maximum amount of time to repeat the execution of a trigger.
Public methodStarting(DateTime)Specifies a date and time on which a trigger will start.
Public methodStarting(String)Specifies a date and time on which a trigger will start.
Public methodStarting(Int32, Int32, Int32)Specifies a date on which a trigger will start.
Public methodStarting(Int32, Int32, Int32, Int32, Int32, Int32)Specifies a date and time on which a trigger will start.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also