8 references to TrySetException
System.Net.Quic (8)
System\Net\Quic\Internal\ValueTaskSource.cs (2)
39
/// Returns <c>true</c> is this task source was completed, i.e. <see cref="TrySetResult"/> or <see cref="
TrySetException
(Exception)"/> was called.
70
thisRef.
TrySetException
(new OperationCanceledException(cancellationToken));
System\Net\Quic\QuicConnection.cs (2)
548
_connectedTcs.
TrySetException
(exception);
568
_connectedTcs.
TrySetException
(exception);
System\Net\Quic\QuicConnection.SslConnectionOptions.cs (1)
141
_connection._connectedTcs.
TrySetException
(ex);
System\Net\Quic\QuicStream.cs (3)
256
_startedTcs.
TrySetException
(exception);
541
_startedTcs.
TrySetException
(exception);
627
_startedTcs.
TrySetException
(exception);