Note

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

Access to this page requires authorization. You can try .

QuicStream.Abort(QuicAbortDirection, Int64) Method

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.

Aborts either the reading, writing, or both sides of the stream.

public:
 void Abort(System::Net::Quic::QuicAbortDirection abortDirection, long errorCode);
public void Abort(System.Net.Quic.QuicAbortDirection abortDirection, long errorCode);
member this.Abort : System.Net.Quic.QuicAbortDirection * int64 -> unit
Public Sub Abort (abortDirection As QuicAbortDirection, errorCode As Long)

Parameters

abortDirection
QuicAbortDirection

The direction of the stream to abort.

errorCode
Int64

The error code with which to abort the stream. This value is application-protocol (which is the layer above QUIC) dependent.

Remarks

Corresponds to STOP_SENDING and RESET_STREAM QUIC frames.

Applies to


Feedback

Was this page helpful?