共用方式為


AsyncReaderWriterLock.Completion Property

Definition

Gets a task whose completion signals that this lock will no longer issue locks.

public:
 property System::Threading::Tasks::Task ^ Completion { System::Threading::Tasks::Task ^ get(); };
public System.Threading.Tasks.Task Completion { get; }
member this.Completion : System.Threading.Tasks.Task
Public ReadOnly Property Completion As Task

Property Value

Returns a Task whose completion signals that this lock will no longer issue locks.

Remarks

This task only transitions to a complete state after a call to Complete().

Applies to