15 references to RequestCanceled
Microsoft.AspNetCore.Http.Connections.Client (1)
Internal\LongPollingTransport.cs (1)
169catch (WebException ex) when (!OperatingSystem.IsBrowser() && ex.Status == WebExceptionStatus.RequestCanceled)
Microsoft.Extensions.Diagnostics.ExceptionSummarization.Tests (8)
ExceptionSummarizerTests.cs (8)
46var exception = new WebException("test", WebExceptionStatus.RequestCanceled); 64var exception = new WebException("test", WebExceptionStatus.RequestCanceled); 104var exception = new WebException("test", WebExceptionStatus.RequestCanceled); 105var descriptionIndex = _httpDescriptions.FindIndex(x => x.Equals(WebExceptionStatus.RequestCanceled.ToString())); 122var exception = new WebException("test", WebExceptionStatus.RequestCanceled); 123var descriptionIndex = _httpDescriptions.FindIndex(x => x.Equals(WebExceptionStatus.RequestCanceled.ToString())); 161var exception = new Exception("test", new WebException("test", WebExceptionStatus.RequestCanceled)); 163.FindIndex(x => x.Equals(WebExceptionStatus.RequestCanceled.ToString()));
PresentationCore (1)
MS\Internal\WpfWebRequestHelper.cs (1)
77throw new WebException(requestUri.ToString(), WebExceptionStatus.RequestCanceled);
System.Net.Requests (5)
System\Net\FileWebRequest.cs (4)
112new WebException(SR.Format(SR.net_requestaborted, WebExceptionStatus.RequestCanceled), WebExceptionStatus.RequestCanceled); 468throw new WebException(SR.Format(SR.net_requestaborted, WebExceptionStatus.RequestCanceled), WebExceptionStatus.RequestCanceled);
System\Net\HttpWebRequest.cs (1)
1596throw new WebException(SR.net_reqaborted, WebExceptionStatus.RequestCanceled);