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