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)

参照