This documentation is archived and is not being maintained.
Provides a mechanism that synchronizes access to objects.
The Monitor type exposes the following members.
|Enter||Acquires an exclusive lock on the specified object.|
|Exit||Releases an exclusive lock on the specified object.|
|Pulse||Notifies a thread in the waiting queue of a change in the locked object's state.|
|PulseAll||Notifies all waiting threads of a change in the object's state.|
|TryEnter||Overloaded. Attempts to acquire an exclusive lock on the specified object.|
|Wait||Overloaded. Releases the lock on an object and blocks the current thread until it reacquires the lock.|