Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ UnsafeRegisterWaitForSingleObject() [2/4]

static RegisteredWaitHandle System.Threading.ThreadPool.UnsafeRegisterWaitForSingleObject ( WaitHandle waitObject,
WaitOrTimerCallback callBack,
object? state,
long millisecondsTimeOutInterval,
bool executeOnlyOnce )
inlinestatic

Definition at line 455 of file ThreadPool.cs.

456 {
458 {
459 throw new ArgumentOutOfRangeException("millisecondsTimeOutInterval", SR.ArgumentOutOfRange_NeedNonNegOrNegative1);
460 }
461 if (millisecondsTimeOutInterval > int.MaxValue)
462 {
463 throw new ArgumentOutOfRangeException("millisecondsTimeOutInterval", SR.ArgumentOutOfRange_LessEqualToIntegerMaxVal);
464 }
466 }
static RegisteredWaitHandle RegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, object state, uint millisecondsTimeOutInterval, bool executeOnlyOnce, bool flowExecutionContext)

References System.SR.ArgumentOutOfRange_LessEqualToIntegerMaxVal, System.SR.ArgumentOutOfRange_NeedNonNegOrNegative1, System.callBack, System.Threading.ThreadPool.RegisterWaitForSingleObject(), and System.state.