Monitor::Enter Method
.NET Framework (current version)
Acquires an exclusive lock on a specified object.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | Enter(Object^) | Acquires an exclusive lock on the specified object. |
![]() ![]() | Enter(Object^, Boolean%) | Acquires an exclusive lock on the specified object, and atomically sets a value that indicates whether the lock was taken. |
Show:

