Szerkesztés

Megosztás a következőn keresztül:


QuicStream.Abort(QuicAbortDirection, Int64) Method

Definition

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