Attempts, for the specified amount of time, to acquire an exclusive lock
on the specified object.
[Edit]
Parameters
- obj
- The object on which to acquire the lock.
[Edit]
- timeout
- A TimeSpan set to the maximum amount of time to wait for the lock.
[Edit]
- timeout
- Documentation for this section has not yet been entered.
[Edit]
Returns
true if the current thread acquires the lock; otherwise, false.
[Edit]
Exceptions
Remarks
Requirements
Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0