QuicStream.ReadsClosed Property
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.
Gets a Task that will complete once the reading side has been closed.
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
Property Value
Remarks
The reading side can be closed when it has reached the end of the stream (ReadAsync(Memory<Byte>, CancellationToken) will return 0
), or when Abort(QuicAbortDirection, Int64) is called for Read, or when the peer called Abort(QuicAbortDirection, Int64) for Write.
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.