AsyncReaderWriterLock.OnBeforeLockReleasedAsync Méthode

Définition

Déclenché lors de la libération d’un verrou.

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

Paramètres

exclusiveLockRelease
Boolean

true si le dernier verrou d’écriture que l’appelant détient est en cours de libération ; false Sinon.

releasingLock
AsyncReaderWriterLock.LockHandle

Verrou en cours de libération.

Retours

Tâche dont l’achèvement signale la conclusion de l’opération asynchrone.

S’applique à