C#/XAML for HTML5 Documentation
C#/XAML for HTML5 Documentation
Reference
System.Threading
Monitor Class
Monitor Methods
Enter Method
Enter Method (Object)
Enter Method (Object, Boolean)
Monitor
Enter Method (Object)
Acquires 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
Enter
(
Object
obj
)
Parameters
obj
Type:
System
Object
The object on which to acquire the monitor lock.
Exceptions
Exception
Condition
ArgumentNullException
The
obj
parameter is null.
See Also
Reference
Monitor Class
Enter Overload
System.Threading Namespace