QuicStream.ReadsClosed 属性

定义

获取在 Task 读取端关闭后将完成的 。

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

属性值

注解

当读取端已到达流的末尾时,可以将其关闭, (将返回 0) ,或者当 Abort(QuicAbortDirection, Int64)Read调用 时,或当对等方调用 时返回 Abort(QuicAbortDirection, Int64)WriteReadAsync(Memory<Byte>, CancellationToken)

适用于