System.Threading.ClientSpinLock.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

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