Universal Windows Service Class Library

Trigger Methods

The methods of the Trigger class are listed below. For a complete list of Trigger class members, see the Trigger Members topic.

Public Static Methods

AddOverloaded. Add the given trigger object to static trigger list.
Begin Signals the triggers in static trigger list that it could start it's work.
Break Signals the triggers in static trigger list that they should break and pause their work.
Clear Remove all entries from static trigger list.
Create Create a new instance of a specified implemented trigger class.
End Signals the triggers in static trigger list that it should stop it's work.
RemoveOverloaded. Remove the trigger with given name from static trigger list.
Resume Signals the triggers in static trigger list that they should start working again.
SignOffOverloaded. Remove given registered event handler from each trigger with given name.
SignOnOverloaded. Register given event handler at each trigger with given name.

Public Instance Methods

Configure Configures the trigger from an xml element.
Continue Signals the trigger that it could start working again.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Pause Signals the trigger that it could break and pause it's work.
Start Signals the trigger that it could start it's work.
Stop Signals the trigger that it should stop it's work.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnEvent Function will be called when the trigger event should be fired.
TimerCallback Function is called from timer which shows that the trigger event should be fired.
TimerRestart Helper function which is used to handle trigger event times which are to long in future.

See Also

Trigger Class | uws.Triggers Namespace | ITrigger