Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Microsoft internal only. Occurs when any lock is being released.
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
Protected Overridable Function OnBeforeLockReleasedAsync ( _
exclusiveLockRelease As Boolean, _
releasingLock As AsyncReaderWriterLock.LockHandle _
) As Task
protected virtual Task OnBeforeLockReleasedAsync(
bool exclusiveLockRelease,
AsyncReaderWriterLock.LockHandle releasingLock
)
protected:
virtual Task^ OnBeforeLockReleasedAsync(
bool exclusiveLockRelease,
AsyncReaderWriterLock::LockHandle releasingLock
)
abstract OnBeforeLockReleasedAsync :
exclusiveLockRelease:bool *
releasingLock:AsyncReaderWriterLock.LockHandle -> Task
override OnBeforeLockReleasedAsync :
exclusiveLockRelease:bool *
releasingLock:AsyncReaderWriterLock.LockHandle -> Task
protected function OnBeforeLockReleasedAsync(
exclusiveLockRelease : boolean,
releasingLock : AsyncReaderWriterLock.LockHandle
) : Task
Parameters
exclusiveLockRelease
Type: System.BooleanA flag indicating whether the last write lock that the caller holds is being released.
releasingLock
Type: Microsoft.VisualStudio.Threading.AsyncReaderWriterLock.LockHandletrue 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.