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. 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
- 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.