C#/XAML for HTML5 Documentation
C#/XAML for HTML5 Documentation
Reference
System.Threading
Monitor Class
Monitor Methods
Enter Method
Exit Method
Monitor
Exit Method
Releases an exclusive lock on the specified object.
Namespace:
System.Threading
Assembly:
mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
Copy
public
static
void
Exit
(
Object
obj
)
Parameters
obj
Type:
System
Object
The object on which to release the lock.
Exceptions
Exception
Condition
ArgumentNullException
The
obj
parameter is null.
SynchronizationLockException
The current thread does not own the lock for the specified object.
See Also
Reference
Monitor Class
System.Threading Namespace