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

◆ UnsafeRegisterWaitForSingleObject() [4/4]

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

Definition at line 411 of file ThreadPool.cs.

412 {
413 if (millisecondsTimeOutInterval > int.MaxValue && millisecondsTimeOutInterval != uint.MaxValue)
414 {
415 throw new ArgumentOutOfRangeException("millisecondsTimeOutInterval", SR.ArgumentOutOfRange_NeedNonNegOrNegative1);
416 }
418 }
static RegisteredWaitHandle RegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, object state, uint millisecondsTimeOutInterval, bool executeOnlyOnce, bool flowExecutionContext)

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