Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public virtual bool WaitOne (TimeSpan timeout, bool exitContext)
- {
- long tm = (long)timeout.TotalMilliseconds;
- if (-1 > tm || (long) Int32.MaxValue < tm)
- {
- throw new ArgumentOutOfRangeException("timeout",
- Environment.GetResourceString("ArgumentOutOfRange_NeedNonNegOrNegative1"));
- }
- return WaitOne(tm,exitContext);
- }
Advertisement
Add Comment
Please, Sign In to add comment