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

◆ ManualResetEventSlim() [3/3]

System.Threading.ManualResetEventSlim.ManualResetEventSlim ( bool initialState,
int spinCount )
inline

Definition at line 80 of file ManualResetEventSlim.cs.

81 {
82 if (spinCount < 0)
83 {
84 throw new ArgumentOutOfRangeException("spinCount");
85 }
86 if (spinCount > 2047)
87 {
88 throw new ArgumentOutOfRangeException("spinCount", SR.Format(SR.ManualResetEventSlim_ctor_SpinCountOutOfRange, 2047));
89 }
90 Initialize(initialState, spinCount);
91 }
void Initialize(bool initialState, int spinCount)

References System.SR.Format(), System.Threading.ManualResetEventSlim.Initialize(), and System.SR.ManualResetEventSlim_ctor_SpinCountOutOfRange.