Type Reason ArgumentNullException obj is null.
If successful, this method acquires an exclusive lock on the obj parameter. This method returns immediately, whether or not the lock is available.
This method is similar to Monitor.Enter(object), but it will never block. If the thread cannot enter without blocking, the method returns false, and the thread does not enter the critical section.