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

◆ RegisterWaitForSingleObject() [3/5]

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

Definition at line 441 of file ThreadPool.cs.

442 {
444 {
445 throw new ArgumentOutOfRangeException("millisecondsTimeOutInterval", SR.ArgumentOutOfRange_NeedNonNegOrNegative1);
446 }
447 if (millisecondsTimeOutInterval > int.MaxValue)
448 {
449 throw new ArgumentOutOfRangeException("millisecondsTimeOutInterval", SR.ArgumentOutOfRange_LessEqualToIntegerMaxVal);
450 }
452 }
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.