次の方法で共有


AsyncReaderWriterResourceLock<TMoniker,TResource>.ResourceReleaser.ReleaseAsync Method

Definition

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.

Applies to