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

◆ CancellationTokenSource() [3/3]

System.Threading.CancellationTokenSource.CancellationTokenSource ( int millisecondsDelay)
inline

Definition at line 341 of file CancellationTokenSource.cs.

342 {
343 if (millisecondsDelay < -1)
344 {
345 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.millisecondsDelay);
346 }
348 }

References System.Threading.CancellationTokenSource.InitializeWithTimer(), System.millisecondsDelay, and System.ThrowHelper.ThrowArgumentOutOfRangeException().