11 references to TrySetException
System.Net.Quic (11)
System\Net\Quic\Internal\ResettableValueTaskSource.cs (1)
55/// Returns <c>true</c> is this task source has entered its final state, i.e. <see cref="TrySetResult(bool)"/> or <see cref="TrySetException(Exception, bool)"/>
System\Net\Quic\QuicStream.cs (10)
433_sendTcs.TrySetException(exception, final: true); 490_receiveTcs.TrySetException(ThrowHelper.GetOperationAbortedException(SR.net_quic_reading_aborted), final: true); 498_sendTcs.TrySetException(_sendException, final: true); 588_sendTcs.TrySetException(exception, final: true); 607_receiveTcs.TrySetException(ThrowHelper.GetStreamAbortedException((long)data.ErrorCode), final: true); 612_sendTcs.TrySetException(ThrowHelper.GetStreamAbortedException((long)data.ErrorCode), final: true); 642_receiveTcs.TrySetException(exception, final: true); 643_sendTcs.TrySetException(exception, final: true); 769_receiveTcs.TrySetException(ThrowHelper.GetOperationAbortedException(SR.net_quic_reading_aborted), final: true); 773_sendTcs.TrySetException(ThrowHelper.GetOperationAbortedException(SR.net_quic_writing_aborted), final: true);