System::Threading::Monitor::TryEnter मेथड

Monitor::TryEnter(const SharedPtr<Object>&) method

निर्दिष्ट वस्तु पर एक विशिष्ट लॉक प्राप्त करने का प्रयास करता है (अभी लागू नहीं)।

static bool System::Threading::Monitor::TryEnter(const SharedPtr<Object> &obj)

संबंधित देखें

Monitor::TryEnter(const SharedPtr<Object>&, int32_t) method

निर्दिष्ट मिलीसेकंड की संख्या के लिए, निर्दिष्ट वस्तु पर एक विशिष्ट लॉक प्राप्त करने का प्रयास करता है (अभी लागू नहीं)।

static bool System::Threading::Monitor::TryEnter(const SharedPtr<Object> &obj, int32_t millisecondsTimeout)

संबंधित देखें

Monitor::TryEnter(const SharedPtr<Object>&, TimeSpan) method

निर्दिष्ट समय अवधि के लिए, निर्दिष्ट वस्तु पर एक विशिष्ट लॉक प्राप्त करने का प्रयास करता है (अभी लागू नहीं)।

static bool System::Threading::Monitor::TryEnter(const SharedPtr<Object> &obj, TimeSpan timeout)

संबंधित देखें

Monitor::TryEnter(const System::SharedPtr<Object>&, bool&) method

निर्दिष्ट वस्तु पर एक विशिष्ट लॉक प्राप्त करने का प्रयास करता है, और एटॉमिक रूप से एक मान सेट करता है जो दर्शाता है कि लॉक लिया गया था या नहीं।

static void System::Threading::Monitor::TryEnter(const System::SharedPtr<Object> &obj, bool &lockTaken)

संबंधित देखें

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)

संबंधित देखें

Monitor::TryEnter(const System::SharedPtr<Object>&, TimeSpan, bool&) method

निर्दिष्ट अवधि के लिए, निर्दिष्ट वस्तु पर एक विशेष लॉक प्राप्त करने का प्रयास करता है, और एटॉमिक रूप से एक मान सेट करता है जो दर्शाता है कि लॉक लिया गया था या नहीं।

static void System::Threading::Monitor::TryEnter(const System::SharedPtr<Object> &obj, TimeSpan timeout, bool &lockTaken)

संबंधित देखें