| Monitor Class |
Namespace: System.Threading
public static class Monitor
The Monitor type exposes the following members.
| 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. | |
| Exit | Releases an exclusive lock on the specified object. |