Universal Windows Service Class Library

Monitor.SignOff Method 

Remove given registered event handler from monitor with given name.

public static void SignOff(
   MonitorEventHandler eventHandler,
   string name
);

Parameters

eventHandler
Delegate object for monitor event handler.
name
Name of the matching monitor.

Remarks

The function removes given registered event handler from monitor in static monitor list where name of monitor matches.

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 event handler or name were given.

See Also

Monitor Class | uws.Monitors Namespace