Universal Windows Service Class Library

OneTimeTrigger Constructor (DateTime)

Constructor of the one time trigger class using a DateTime structure to configure it.

public OneTimeTrigger(
   DateTime dateTime
);

Parameters

dateTime
Structure containing start date and time.

Remarks

This constructor creates a new one time trigger object and configue it with given start date and time capsulated in DateTime structure.

Exceptions

Exception TypeCondition
ArgumentExceptionThrown if an invalid start date and time was given.

See Also

OneTimeTrigger Class | uws.Triggers Namespace | OneTimeTrigger Constructor Overload List