Universal Windows Service Class Library

Trigger.Remove Method (Type)

Remove all triggers of given type from static trigger list.

public static void Remove(
   Type type
);

Parameters

type
The type of trigger which should be removed.

Remarks

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

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 type was given.

See Also

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