System::Threading::Monitor::TryEnter method
Monitor::TryEnter(const SharedPtr<Object>&) method
Attempts to acquire an exclusive lock on the specified object Not implemented.
static bool System::Threading::Monitor::TryEnter(const SharedPtr<Object> &obj)
See Also
- Typedef SharedPtr
- Class Object
- Class Monitor
- Namespace System::Threading
- Library Aspose.PUB for C++
Monitor::TryEnter(const System::SharedPtr<Object>&, bool&) method
Attempts to acquire an exclusive lock on the specified object, and atomically sets a value that indicates whether the lock was taken.
static void System::Threading::Monitor::TryEnter(const System::SharedPtr<Object> &obj, bool &lockTaken)
See Also
- Typedef SharedPtr
- Class Object
- Class Monitor
- Namespace System::Threading
- Library Aspose.PUB for C++
Monitor::TryEnter(const SharedPtr<Object>&, int32_t) method
Attempts, for the specified number of milliseconds, to acquire an exclusive lock on the specified object Not implemented.
static bool System::Threading::Monitor::TryEnter(const SharedPtr<Object> &obj, int32_t millisecondsTimeout)
See Also
- Typedef SharedPtr
- Class Object
- Class Monitor
- Namespace System::Threading
- Library Aspose.PUB for C++
Monitor::TryEnter(const SharedPtr<Object>&, TimeSpan) method
Attempts, for the specified amount of time, to acquire an exclusive lock on the specified object Not implemented.
static bool System::Threading::Monitor::TryEnter(const SharedPtr<Object> &obj, TimeSpan timeout)
See Also
- Typedef SharedPtr
- Class Object
- Class TimeSpan
- Class Monitor
- Namespace System::Threading
- Library Aspose.PUB for C++
Monitor::TryEnter(const System::SharedPtr<Object>&, int32_t, bool&) method
Attempts, for the specified amount of time, to acquire an exclusive lock on the specified object, and atomically sets a value that indicates whether the lock was taken.
static void System::Threading::Monitor::TryEnter(const System::SharedPtr<Object> &obj, int32_t millisecondsTimeout, bool &lockTaken)
See Also
- Typedef SharedPtr
- Class Object
- Class Monitor
- Namespace System::Threading
- Library Aspose.PUB for C++
Monitor::TryEnter(const System::SharedPtr<Object>&, TimeSpan, bool&) method
Attempts, for the specified amount of time, to acquire an exclusive lock on the specified object, and atomically sets a value that indicates whether the lock was taken.
static void System::Threading::Monitor::TryEnter(const System::SharedPtr<Object> &obj, TimeSpan timeout, bool &lockTaken)
See Also
- Typedef SharedPtr
- Class Object
- Class TimeSpan
- Class Monitor
- Namespace System::Threading
- Library Aspose.PUB for C++