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

◆ RegisterWaitForSingleObject() [5/5]

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

Definition at line 400 of file ThreadPool.cs.

401 {
402 if (millisecondsTimeOutInterval > int.MaxValue && millisecondsTimeOutInterval != uint.MaxValue)
403 {
404 throw new ArgumentOutOfRangeException("millisecondsTimeOutInterval", SR.ArgumentOutOfRange_LessEqualToIntegerMaxVal);
405 }
407 }
static RegisteredWaitHandle RegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, object state, uint millisecondsTimeOutInterval, bool executeOnlyOnce, bool flowExecutionContext)

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