Method WaitableTimer.Open
Overload
Calls API OpenWaitableTimer and creates a WaitableTimer object that wraps the timer handle.
public static WaitableTimer Open(string timerName, uint access = 1048578, bool inheritHandle = false, bool noException = false)
Parameters
timerName (string)
Timer name. Fails if it does not exist; to open-or-create use WaitableTimer.Create. |
access (uint)
See Synchronization Object Security and Access Rights. The default value |
inheritHandle (bool) |
noException (bool)
If fails, return |
Returns
Exceptions
AuException
Failed. For example, the timer does not exist. |