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)
470_sendTcs.TrySetException(exception); 527_receiveTcs.TrySetException(ThrowHelper.GetOperationAbortedException(SR.net_quic_reading_aborted)); 535_sendTcs.TrySetException(_sendException); 625_sendTcs.TrySetException(exception); 644_receiveTcs.TrySetException(ThrowHelper.GetStreamAbortedException((long)data.ErrorCode)); 649_sendTcs.TrySetException(ThrowHelper.GetStreamAbortedException((long)data.ErrorCode)); 679_receiveTcs.TrySetException(exception); 680_sendTcs.TrySetException(exception); 809_receiveTcs.TrySetException(ThrowHelper.GetOperationAbortedException(SR.net_quic_reading_aborted)); 813_sendTcs.TrySetException(ThrowHelper.GetOperationAbortedException(SR.net_quic_writing_aborted));