다음을 통해 공유


AsyncReaderWriterLock.OnBeforeLockReleasedAsync 메서드

정의

잠금이 해제될 때 발생합니다.

protected:
 virtual System::Threading::Tasks::Task ^ OnBeforeLockReleasedAsync(bool exclusiveLockRelease, Microsoft::VisualStudio::Threading::AsyncReaderWriterLock::LockHandle releasingLock);
protected virtual System.Threading.Tasks.Task OnBeforeLockReleasedAsync (bool exclusiveLockRelease, Microsoft.VisualStudio.Threading.AsyncReaderWriterLock.LockHandle releasingLock);
abstract member OnBeforeLockReleasedAsync : bool * Microsoft.VisualStudio.Threading.AsyncReaderWriterLock.LockHandle -> System.Threading.Tasks.Task
override this.OnBeforeLockReleasedAsync : bool * Microsoft.VisualStudio.Threading.AsyncReaderWriterLock.LockHandle -> System.Threading.Tasks.Task
Protected Overridable Function OnBeforeLockReleasedAsync (exclusiveLockRelease As Boolean, releasingLock As AsyncReaderWriterLock.LockHandle) As Task

매개 변수

exclusiveLockRelease
Boolean

true 호출자가 보유하는 마지막 쓰기 잠금이 해제되면 이고, false 그렇지 않으면.

releasingLock
AsyncReaderWriterLock.LockHandle

해제되는 잠금입니다.

반환

완료 시 비동기 작업의 결론을 알리는 작업입니다.

적용 대상