ManualResetEventSlim.Wait Method (Int32, CancellationToken)
Assembly: mscorlib (in mscorlib.dll)
- Type: System.Int32
The number of milliseconds to wait, or Infinite(-1) to wait indefinitely.
cancellationToken was canceled.
millisecondsTimeout is a negative number other than -1, which represents an infinite time-out.
The maximum number of waiters has been exceeded.
The object has already been disposed or the CancellationTokenSource that created cancellationToken has been disposed.