Universal Windows Service Class Library

Trigger.SignOn Method (TriggerEventHandler, String)

Register given event handler at each trigger with given name.

public static void SignOn(
   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 register the given event handler at 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.SignOn Overload List