Click or drag to resize
Task Scheduler Managed Class Library

TriggerBuilder Methods

The TriggerBuilder type exposes the following members.

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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsDisabled
Determines whether this trigger is disabled.
Protected methodMemberwiseClone
Creates 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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also