System.Threading.ClientSpinLock.TryEnter C# (CSharp) Метод

TryEnter() публичный Метод

public TryEnter ( System.TimeSpan timeout, bool &lockTaken ) : void
timeout System.TimeSpan
lockTaken bool
Результат 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