Universal Windows Service Class Library

CrashMonitor.Configure Method (XmlElement)

Configures the monitor from an xml element.

public override void Configure(
   XmlElement element
);

Parameters

element
Xml element containing specific monitor data.

Implements

IMonitor.Configure

Remarks

This function configures the monitor 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. No further information would be neccessary.

Exceptions

Exception TypeCondition
ArgumentNullExceptionThrown if no element was given.

Example

<monitor name="Crashed" type="uws.Monitors.CrashMonitor"/>

See Also

CrashMonitor Class | uws.Monitors Namespace | CrashMonitor.Configure Overload List | IMonitor | Monitor