Lingua

AsyncReaderWriterLock.OnBeforeLockReleasedAsync Metodo

Definizione

Generato quando viene rilasciato un blocco.

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

Parametri

exclusiveLockRelease
Boolean

true se viene rilasciato l'ultimo blocco di scrittura che il chiamante contiene; false in caso contrario.

releasingLock
AsyncReaderWriterLock.LockHandle

Blocco rilasciato.

Valori restituiti

Attività il cui completamento segnala la conclusione dell'operazione asincrona.

Si applica a