Note
While the maximum value for this property is MaxValue, the Windows Task Scheduler management
application that is part of the OS will fail if this value is greater than December 31, 9998.
public abstract class Trigger : IDisposable,
ICloneable, IEquatable<Trigger>, IComparable, IComparable<Trigger>,
INotifyPropertyChanged
Enabled | Gets or sets a Boolean value that indicates whether the trigger is enabled. |
EndBoundary | Gets or sets the date and time when the trigger is deactivated. The trigger cannot start the task after it is deactivated. |
ExecutionTimeLimit | Gets or sets the maximum amount of time that the task launched by this trigger is allowed to run. Not available with Task Scheduler 1.0. |
Id | Gets or sets the identifier for the trigger. Cannot set with Task Scheduler 1.0. |
Repetition | Gets a RepetitionPattern instance that indicates how often the task is run and how long the repetition pattern is repeated after the task is started. |
StartBoundary | Gets or sets the date and time when the trigger is activated. |
TriggerType | Gets the type of the trigger. |
CheckBindValue | Checks the bind value for any conversion. |
Clone | Creates a new Trigger that is an unbound copy of this instance. |
CompareTo | Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. |
CopyProperties | Copies the properties from another Trigger the current instance. This will not copy any properties associated with any derived triggers except those supporting the ITriggerDelay interface. |
CreateTrigger | Creates the specified trigger. |
Dispose | Releases all resources used by this class. |
Equals(Object) | Determines whether the specified Object, is equal to this instance. (Overrides ObjectEquals(Object)) |
Equals(Trigger) | Indicates whether the current object is equal to another object of the same type. |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
FromCronFormat | Creates a trigger using a cron string. |
GetHashCode | Returns a hash code for this instance. (Overrides ObjectGetHashCode) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
GetUnboundValueOrDefaultT | Gets the unbound value or a default. |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
OnNotifyPropertyChanged | Called when a property has changed to notify any attached elements. |
SetRepetition | Sets the repetition. Obsolete. |
ToString | Returns a string representing this trigger. (Overrides ObjectToString) |
ToString(CultureInfo) | Returns a String that represents this trigger in a specific language. |
V2GetTriggerString | Gets the non-localized trigger string for V2 triggers. |
PropertyChanged | Occurs when a property value changes. |
unboundValues | In testing and may change. Do not use until officially introduced into library. |