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