Note
This type of trigger is only
available for reading custom triggers. It cannot be used to create custom triggers.
public sealed class CustomTrigger : Trigger,
ITriggerDelay
Delay | Gets a value that indicates the amount of time between the trigger events and when the task is started. |
Enabled | Gets or sets a Boolean value that indicates whether the trigger is enabled. (Inherited from Trigger) |
EndBoundary |
Gets or sets the date and time when the trigger is deactivated. The trigger cannot start the task after it is deactivated.
(Inherited from Trigger) |
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.
(Inherited from Trigger) |
Id | Gets or sets the identifier for the trigger. Cannot set with Task Scheduler 1.0. (Inherited from Trigger) |
Name | Gets the name of the custom trigger type. |
Properties | Gets the properties from the XML definition if possible. |
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.
(Inherited from Trigger) |
StartBoundary | Gets or sets the date and time when the trigger is activated. (Inherited from Trigger) |
TriggerType | Gets the type of the trigger. (Inherited from Trigger) |
CheckBindValue | Checks the bind value for any conversion. (Inherited from Trigger) |
Clone | Clones this instance. (Overrides TriggerClone) |
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.
(Inherited from Trigger) |
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.
(Inherited from Trigger) |
Dispose | Releases all resources used by this class. (Inherited from Trigger) |
Equals(Object) | Determines whether the specified Object, is equal to this instance. (Inherited from Trigger) |
Equals(Trigger) | Indicates whether the current object is equal to another object of the same type. (Inherited from Trigger) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetHashCode | Returns a hash code for this instance. (Inherited from Trigger) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
GetUnboundValueOrDefaultT | Gets the unbound value or a default. (Inherited from Trigger) |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
OnNotifyPropertyChanged | Called when a property has changed to notify any attached elements. (Inherited from Trigger) |
SetRepetition | Sets the repetition. (Inherited from Trigger) Obsolete. |
ToString | Returns a string representing this trigger. (Inherited from Trigger) |
ToString(CultureInfo) | Returns a String that represents this trigger in a specific language. (Inherited from Trigger) |
V2GetTriggerString | Gets the non-localized trigger string for V2 triggers. (Overrides TriggerV2GetTriggerString) |
PropertyChanged | Occurs when a property value changes. (Inherited from Trigger) |
unboundValues | In testing and may change. Do not use until officially introduced into library. (Inherited from Trigger) |