Export (0) Print
Expand All

Monitor.TryEnter Method

Attempts to acquire an exclusive lock on the specified object.

Name Description
Monitor.TryEnter (Object) Attempts to acquire an exclusive lock on the specified object.

Supported by the .NET Compact Framework.

Monitor.TryEnter (Object, Int32) Attempts, for the specified number of milliseconds, to acquire an exclusive lock on the specified object.
Monitor.TryEnter (Object, TimeSpan) Attempts, for the specified amount of time, to acquire an exclusive lock on the specified object.

Community Additions

ADD
Show:
© 2014 Microsoft