Method timer2.After
Overload
Starts one-time timer or changes timeout/period.
public void After(long milliseconds)
Parameters
milliseconds (long)
Time interval after which to call the callback function. Valid values are 0 - uint.MaxValue - 2. If -1, stops without disposing. |
Exceptions
ArgumentOutOfRangeException |
ObjectDisposedException
Called timer2.Stop (unless canReuse true). |