Configures the trigger from a xml element.
This function configures the trigger from given xml element. Must be implemented by each implementation of the base class.
An example of xml configuration is specified in the example section. Following date configurations are possible:
Exception Type | Condition |
---|---|
ArgumentNullException | Thrown if no element was given. |
Exception | Means that the configuration is invalid. For more information see the exception message. |
<trigger type="uws.Triggers.OneTimeTrigger"> <date value="26.10.2005"/> <time value="13:40"/> </trigger>
OneTimeTrigger Class | uws.Triggers Namespace | OneTimeTrigger.Configure Overload List | ITrigger | Trigger