AsyncReaderWriterResourceLock<TMoniker,TResource>.ResourceReleaser.ReleaseAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously releases the lock. Dispose should still be called after this.
public:
System::Threading::Tasks::Task ^ ReleaseAsync();
public System.Threading.Tasks.Task ReleaseAsync ();
member this.ReleaseAsync : unit -> System.Threading.Tasks.Task
Public Function ReleaseAsync () As Task
Returns
Returns Task.
Remarks
Rather than calling this method explicitly, use the C# 8 "await using" syntax instead.