Universal Windows Service Class Library

Trigger.Add Method (ITrigger)

Add the given trigger object to static trigger list.

public static void Add(
   ITrigger trigger
);

Parameters

trigger
Object of a implemented trigger class.

Remarks

The function add the given trigger object to static trigger list.

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.

Exceptions

Exception TypeCondition
ArgumentNullExceptionThrown if no trigger was given.
ExceptionThe given trigger is not configured

See Also

Trigger Class | uws.Triggers Namespace | Trigger.Add Overload List | ITrigger