Compartir a través de


AsyncReaderWriterLock.Releaser.ReleaseAsync Method

Microsoft internal only. Asynchronously releases the lock. Dispose should still be called after this.

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

Syntax

'Declaration
Public Function ReleaseAsync As Task
public Task ReleaseAsync()
public:
Task^ ReleaseAsync()
member ReleaseAsync : unit -> Task
public function ReleaseAsync() : Task

Return Value

Type: System.Threading.Tasks.Task
Returns aTask that should complete before the releasing thread accesses any resource protected by a lock wrapping the lock being released.

.NET Framework Security

See Also

Reference

AsyncReaderWriterLock.Releaser Structure

Microsoft.VisualStudio.Threading Namespace