طريقة System::Threading::Monitor::TryEnter
محتويات
[
يخفي
]Monitor::TryEnter(const SharedPtr<Object>&) method
يحاول الحصول على قفل حصري على الكائن المحدد غير مُنفّذ.
static bool System::Threading::Monitor::TryEnter(const SharedPtr<Object> &obj)
انظر أيضًا
- Typedef SharedPtr
- Class Object
- Class Monitor
- Namespace System::Threading
- Library Aspose.Font for C++
Monitor::TryEnter(const SharedPtr<Object>&, int32_t) method
يحاول، للعدد المحدد من المللي ثانية، الحصول على قفل حصري على الكائن المحدد غير مُنفّذ.
static bool System::Threading::Monitor::TryEnter(const SharedPtr<Object> &obj, int32_t millisecondsTimeout)
انظر أيضًا
- Typedef SharedPtr
- Class Object
- Class Monitor
- Namespace System::Threading
- Library Aspose.Font for C++
Monitor::TryEnter(const SharedPtr<Object>&, TimeSpan) method
يحاول، للمدة المحددة، الحصول على قفل حصري على الكائن المحدد غير مُنفّذ.
static bool System::Threading::Monitor::TryEnter(const SharedPtr<Object> &obj, TimeSpan timeout)
انظر أيضًا
- Typedef SharedPtr
- Class Object
- Class TimeSpan
- Class Monitor
- Namespace System::Threading
- Library Aspose.Font for C++
Monitor::TryEnter(const System::SharedPtr<Object>&, bool&) method
يحاول الحصول على قفل حصري على الكائن المحدد، ويضبط قيمة ذرية تشير إلى ما إذا تم أخذ القفل.
static void System::Threading::Monitor::TryEnter(const System::SharedPtr<Object> &obj, bool &lockTaken)
انظر أيضًا
- Typedef SharedPtr
- Class Object
- Class Monitor
- Namespace System::Threading
- Library Aspose.Font for C++
Monitor::TryEnter(const System::SharedPtr<Object>&, int32_t, bool&) method
يحاول، للمدة المحددة، الحصول على قفل حصري على الكائن المحدد، ويضبط قيمة ذرية تشير إلى ما إذا تم أخذ القفل.
static void System::Threading::Monitor::TryEnter(const System::SharedPtr<Object> &obj, int32_t millisecondsTimeout, bool &lockTaken)
انظر أيضًا
- Typedef SharedPtr
- Class Object
- Class Monitor
- Namespace System::Threading
- Library Aspose.Font for C++
Monitor::TryEnter(const System::SharedPtr<Object>&, TimeSpan, bool&) method
يحاول، للمدة المحددة، الحصول على قفل حصري على الكائن المحدد، ويضبط قيمة ذرية تشير إلى ما إذا تم أخذ القفل.
static void System::Threading::Monitor::TryEnter(const System::SharedPtr<Object> &obj, TimeSpan timeout, bool &lockTaken)
انظر أيضًا
- Typedef SharedPtr
- Class Object
- Class TimeSpan
- Class Monitor
- Namespace System::Threading
- Library Aspose.Font for C++