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)

또 보기