Compartir a través de


AsyncReaderWriterResourceLock<TMoniker, TResource>.OnExclusiveLockReleasedAsync Method

Microsoft internal only. Occurs after an exclusive lock is released but before anyone has a chance to enter the lock.

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

Syntax

'Declaration
Protected Overrides Function OnExclusiveLockReleasedAsync As Task
protected override Task OnExclusiveLockReleasedAsync()
protected:
virtual Task^ OnExclusiveLockReleasedAsync() override
abstract OnExclusiveLockReleasedAsync : unit -> Task  
override OnExclusiveLockReleasedAsync : unit -> Task
protected override function OnExclusiveLockReleasedAsync() : Task

Return Value

Type: System.Threading.Tasks.Task
Returns Task.

Remarks

This method is called while holding a private lock in order to block future lock consumers till this method is finished.

.NET Framework Security

See Also

Reference

AsyncReaderWriterResourceLock<TMoniker, TResource> Class

Microsoft.VisualStudio.Threading Namespace