System.Threading.ServerSpinLock.TryEnter C# (CSharp) Method

TryEnter() public method

public TryEnter ( System.TimeSpan timeout, bool &lockTaken ) : void
timeout System.TimeSpan
lockTaken bool
return void
        public void TryEnter(TimeSpan timeout, ref bool lockTaken)
        {
            TryEnter ((int)timeout.TotalMilliseconds, ref lockTaken);
        }

Same methods

ServerSpinLock::TryEnter ( bool &lockTaken ) : void
ServerSpinLock::TryEnter ( int millisecondsTimeout, bool &lockTaken ) : void