19 references to CreateOperationCanceledException
System.Net.Http (19)
System\Net\Http\CancellationHelper.cs (1)
33
throw
CreateOperationCanceledException
(innerException, cancellationToken);
System\Net\Http\HttpClient.cs (1)
621
e = toThrow = CancellationHelper.
CreateOperationCanceledException
(e, cancellationToken.IsCancellationRequested ? cancellationToken : cts.Token);
System\Net\Http\HttpContent.cs (1)
453
throw CancellationHelper.
CreateOperationCanceledException
(e, cancellationToken);
System\Net\Http\SocketsHttpHandler\ChunkedEncodingReadStream.cs (2)
236
throw CancellationHelper.
CreateOperationCanceledException
(exc, cancellationToken);
281
throw CancellationHelper.
CreateOperationCanceledException
(exc, cancellationToken);
System\Net\Http\SocketsHttpHandler\ConnectHelper.cs (3)
89
throw CancellationHelper.
CreateOperationCanceledException
(e, cancellationToken);
106
throw CancellationHelper.
CreateOperationCanceledException
(null, cancellationToken);
142
CancellationHelper.
CreateOperationCanceledException
(exception, cancellationToken) :
System\Net\Http\SocketsHttpHandler\ConnectionCloseReadStream.cs (2)
64
throw CancellationHelper.
CreateOperationCanceledException
(exc, cancellationToken);
125
throw CancellationHelper.
CreateOperationCanceledException
(exc, cancellationToken);
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (2)
716
CancellationHelper.
CreateOperationCanceledException
(innerException: null, cancellationToken) :
837
Exception newException = CancellationHelper.
CreateOperationCanceledException
(te, oce.CancellationToken);
System\Net\Http\SocketsHttpHandler\ContentLengthReadStream.cs (2)
89
throw CancellationHelper.
CreateOperationCanceledException
(exc, cancellationToken);
154
throw CancellationHelper.
CreateOperationCanceledException
(exc, cancellationToken);
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (1)
1470
CancellationHelper.
CreateOperationCanceledException
(null, cancellationToken)));
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (1)
917
mappedException = CancellationHelper.
CreateOperationCanceledException
(exception, cancellationToken);
System\Net\Http\SocketsHttpHandler\RawConnectionStream.cs (3)
71
throw CancellationHelper.
CreateOperationCanceledException
(exc, cancellationToken);
127
throw CancellationHelper.
CreateOperationCanceledException
(exc, cancellationToken);
218
throw CancellationHelper.
CreateOperationCanceledException
(exc, cancellationToken);