11 references to TrySetException
System.Net.Quic (11)
System\Net\Quic\Internal\ResettableValueTaskSource.cs (1)
55
/// Returns <c>true</c> if this task source has entered its final state, i.e. <see cref="TrySetResult(bool)"/> or <see cref="
TrySetException
(Exception)"/>
System\Net\Quic\QuicStream.cs (10)
471
_sendTcs.
TrySetException
(exception);
528
_receiveTcs.
TrySetException
(ThrowHelper.GetOperationAbortedException(SR.net_quic_reading_aborted));
536
_sendTcs.
TrySetException
(_sendException);
626
_sendTcs.
TrySetException
(exception);
645
_receiveTcs.
TrySetException
(ThrowHelper.GetStreamAbortedException((long)data.ErrorCode));
650
_sendTcs.
TrySetException
(ThrowHelper.GetStreamAbortedException((long)data.ErrorCode));
680
_receiveTcs.
TrySetException
(exception);
681
_sendTcs.
TrySetException
(exception);
810
_receiveTcs.
TrySetException
(ThrowHelper.GetOperationAbortedException(SR.net_quic_reading_aborted));
814
_sendTcs.
TrySetException
(ThrowHelper.GetOperationAbortedException(SR.net_quic_writing_aborted));