Share via


D3DImage.TryLock(Duration) 메서드

정의

D3DImage를 잠그려고 하고 지정된 기간 동안 기다립니다.

public:
 bool TryLock(System::Windows::Duration timeout);
public bool TryLock (System.Windows.Duration timeout);
member this.TryLock : System.Windows.Duration -> bool
Public Function TryLock (timeout As Duration) As Boolean

매개 변수

timeout
Duration

잠금을 가져올 때까지 대기할 기간입니다.

반환

잠금을 가져왔으면 true이고, 그렇지 않으면 false입니다.

예외

timeoutAutomatic로 설정됩니다.

잠금 수는 UInt32.MaxValue와 같습니다.

적용 대상

추가 정보