Click or drag to resize
MonitorExit Method
Releases an exclusive lock on the specified object.

Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static void Exit(
	Object obj
)

Parameters

obj
Type: SystemObject
The object on which to release the lock.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe obj parameter is null.
SynchronizationLockExceptionThe current thread does not own the lock for the specified object.
See Also