System.Threading.WaitHandle.WaitOneNoCheck(int)

Here are the examples of the csharp api System.Threading.WaitHandle.WaitOneNoCheck(int) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

4 Examples 7

19 Source : WaitHandle.cs
with MIT License
from Team-RTCLI

public virtual bool WaitOne() => WaitOneNoCheck(-1);

19 Source : WaitHandle.cs
with MIT License
from Team-RTCLI

public virtual bool WaitOne(int millisecondsTimeout)
        {
            if (millisecondsTimeout < -1)
            {
                throw new ArgumentOutOfRangeException(nameof(millisecondsTimeout), SR.ArgumentOutOfRange_NeedNonNegOrNegative1);
            }

            return WaitOneNoCheck(millisecondsTimeout);
        }

19 Source : WaitHandle.cs
with MIT License
from Team-RTCLI

public virtual bool WaitOne(TimeSpan timeout) => WaitOneNoCheck(ToTimeoutMilliseconds(timeout));

19 Source : WaitHandle.cs
with MIT License
from Team-RTCLI

public virtual bool WaitOne(TimeSpan timeout, bool exitContext) => WaitOneNoCheck(ToTimeoutMilliseconds(timeout));