This documentation is archived and is not being maintained.

Monitor Methods

The Monitor type exposes the following members.

  NameDescription
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Enter Acquires an exclusive lock on the specified object.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Exit Releases an exclusive lock on the specified object.
Public method Static member Pulse Notifies a thread in the waiting queue of a change in the locked object's state.
Public method Static member PulseAll Notifies all waiting threads of a change in the object's state.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework TryEnter Overloaded. Attempts to acquire an exclusive lock on the specified object.
Public method Static member Wait Overloaded. Releases the lock on an object and blocks the current thread until it reacquires the lock.
Top
Show: