[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Releases an exclusive lock on the specified object.
Assembly: mscorlib (in mscorlib.dll)
The calling thread must own the lock on the obj parameter. If the calling thread owns the lock on the specified object, and has made an equal number of Exit and Enter calls for the object, then the lock is released. If the calling thread has not invoked Exit as many times as Enter, the lock is not released.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.