Blocks the current thread until it can enter the System.Threading.SemaphoreSlim, using a 32-bit signed integer that specifies the timeout.
- millisecondsTimeout
- The number of milliseconds to wait, or Timeout.Infinite(-1) to wait indefinitely.
true if the current thread successfully entered the System.Threading.SemaphoreSlim; otherwise, false.