طريقة System::Threading::Monitor::Enter
Monitor::Enter(const SharedPtr<Object>&) method
يحصل على قفل حصري على كائن محدد.
static void System::Threading::Monitor::Enter(const SharedPtr<Object> &obj)
| معامل | نوع | الوصف |
|---|---|---|
| obj | const SharedPtr<Object>& | الكائن الذي يجب الحصول على قفل المراقب عليه. |
انظر أيضًا
- Typedef SharedPtr
- Class Object
- Class Monitor
- Namespace System::Threading
- Library Aspose.Font for C++
Monitor::Enter(const System::SharedPtr<Object>&, bool&) method
يحصل على قفل حصري على الكائن المحدد، ويضبط قيمة ذرية تشير إلى ما إذا تم أخذ القفل.
static void System::Threading::Monitor::Enter(const System::SharedPtr<Object> &obj, bool &lockTaken)
انظر أيضًا
- Typedef SharedPtr
- Class Object
- Class Monitor
- Namespace System::Threading
- Library Aspose.Font for C++