Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Monitor Methods

The methods of the Monitor class are listed here. For a complete list of Monitor class members, see the Monitor Members topic.

Public Methods

public methodstatic (Shared in Visual Basic)Enter

Supported by the .NET Compact Framework.

Acquires an exclusive lock on the specified object.
public methodstatic (Shared in Visual Basic)Exit

Supported by the .NET Compact Framework.

Releases an exclusive lock on the specified object.
public methodstatic (Shared in Visual Basic)Pulse Notifies a thread in the waiting queue of a change in the locked object's state.
public methodstatic (Shared in Visual Basic)PulseAll Notifies all waiting threads of a change in the object's state.
public methodstatic (Shared in Visual Basic)TryEnter Overloaded. Attempts to acquire an exclusive lock on the specified object.
public methodstatic (Shared in Visual Basic)Wait Overloaded. Releases the lock on an object and blocks the current thread until it reacquires the lock.

See Also

Monitor Class | System.Threading Namespace

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft