Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

QuicStream.WritesClosed Property

Definition

Namespace:
System.Net.Quic
Assembly:
System.Net.Quic.dll
Source:
QuicStream.cs
Source:
QuicStream.cs
Source:
QuicStream.cs
Source:
QuicStream.cs
Source:
QuicStream.cs

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 when the writing side has been closed.

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

Property Value

Remarks

The writing side can be closed by calling CompleteWrites() or WriteAsync(ReadOnlyMemory<Byte>, Boolean, CancellationToken) with completeWrites: true and getting acknowledgement from the peer, or when Abort(QuicAbortDirection, Int64) is called for Write, or when the peer called Abort(QuicAbortDirection, Int64) for Read.

Applies to


Feedback

Was this page helpful?