Universal Windows Service Class Library

Trigger.SignOff Method (TriggerEventHandler, String)

Remove given registered event handler from each trigger with given name.

public static void SignOff(
   TriggerEventHandler eventHandler,
   string name


Delegate object for trigger event handler.
Name of the matching trigger or empty for all triggers without a name.


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

The static trigger list will be used for global trigger which could be used from different objects.

For an example source code see the Add method.


Exception TypeCondition
ArgumentNullExceptionThrown if no event handler or name were given.

See Also

Trigger Class | uws.Triggers Namespace | Trigger.SignOff Overload List