15 references to QUIC_STREAM_SHUTDOWN_FLAGS
System.Net.Quic (15)
System\Net\Quic\Internal\MsQuicApi.NativeMethods.cs (1)
311
public int StreamShutdown(MsQuicSafeHandle stream,
QUIC_STREAM_SHUTDOWN_FLAGS
flags, ulong code)
System\Net\Quic\Interop\msquic_generated.cs (1)
3093
internal delegate* unmanaged[Cdecl]<QUIC_HANDLE*,
QUIC_STREAM_SHUTDOWN_FLAGS
, ulong, int> StreamShutdown;
System\Net\Quic\QuicStream.cs (13)
460
QUIC_STREAM_SHUTDOWN_FLAGS
flags =
QUIC_STREAM_SHUTDOWN_FLAGS
.NONE;
463
flags |=
QUIC_STREAM_SHUTDOWN_FLAGS
.ABORT_RECEIVE;
467
flags |=
QUIC_STREAM_SHUTDOWN_FLAGS
.ABORT_SEND;
470
if (flags ==
QUIC_STREAM_SHUTDOWN_FLAGS
.NONE)
529
QUIC_STREAM_SHUTDOWN_FLAGS
.GRACEFUL,
729
StreamShutdown(
QUIC_STREAM_SHUTDOWN_FLAGS
.ABORT |
QUIC_STREAM_SHUTDOWN_FLAGS
.IMMEDIATE, _defaultErrorCode);
736
StreamShutdown(
QUIC_STREAM_SHUTDOWN_FLAGS
.ABORT_RECEIVE, _defaultErrorCode);
740
StreamShutdown(
QUIC_STREAM_SHUTDOWN_FLAGS
.GRACEFUL, default);
752
unsafe void StreamShutdown(
QUIC_STREAM_SHUTDOWN_FLAGS
flags, long errorCode)
767
if (flags.HasFlag(
QUIC_STREAM_SHUTDOWN_FLAGS
.ABORT_RECEIVE) && !_receiveTcs.IsCompleted)
771
if (flags.HasFlag(
QUIC_STREAM_SHUTDOWN_FLAGS
.ABORT_SEND) && !_sendTcs.IsCompleted)