Universal Windows Service Class Library

Monitor.Remove Method (Type)

Remove all monitors of given type from static monitor list.

public static void Remove(
   Type type
);

Parameters

type
The type of monitor which should be removed.

Remarks

The function removes all monitors of given type from static monitor list. Running monitors will be stopped and then removed.

The static monitor list will be used for monitors which could be used from different triggers or something else.

For an example source code see the Add method.

Exceptions

Exception TypeCondition
ArgumentNullExceptionThrown if no type was given.

See Also

Monitor Class | uws.Monitors Namespace | Monitor.Remove Overload List