Universal Windows Service Class Library

OnServiceStartTrigger.Configure Method 

Configures the trigger from an xml element.

public override void Configure(
   XmlElement element
);

Parameters

element
Xml element containing specific trigger data.

Implements

ITrigger.Configure

Remarks

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.

Exceptions

Exception TypeCondition
ArgumentNullExceptionThrown if no element was given.

Example

<trigger type="uws.Triggers.OnServiceStartTrigger"/>

See Also

OnServiceStartTrigger Class | uws.Triggers Namespace | ITrigger | Trigger