AsyncReaderWriterLock::OnBeforeLockReleasedAsync Method (Boolean, AsyncReaderWriterLock::LockHandle)

 

Microsoft internal only. Occurs when any lock is being released.

Namespace:   Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

protected:
virtual Task^ OnBeforeLockReleasedAsync(
	bool exclusiveLockRelease,
	AsyncReaderWriterLock::LockHandle releasingLock
)

Parameters

exclusiveLockRelease
Type: System::Boolean

A flag indicating whether the last write lock that the caller holds is being released.

releasingLock
Type: Microsoft.VisualStudio.Threading::AsyncReaderWriterLock::LockHandle

true if the last writelock that the caller holds is being released, otherwise false.

Return Value

Type: System.Threading.Tasks::Task^

A Task whose completion signals the conclusion of the asynchronous operation.

Return to top
Show: