19 references to WebExceptionStatus
dotnet-svcutil-lib (3)
Metadata\HttpAuthenticationHelper.cs (1)
52if (webException != null && webException.Status == WebExceptionStatus.ProtocolError)
Metadata\MetadaExchangeResolver.cs (2)
293throw new WebException(errorMsg, null, WebExceptionStatus.ProtocolError, webResponse); 310if (webException.Status == WebExceptionStatus.TrustFailure)
Microsoft.AspNetCore.Http.Connections.Client (1)
Internal\LongPollingTransport.cs (1)
169catch (WebException ex) when (!OperatingSystem.IsBrowser() && ex.Status == WebExceptionStatus.RequestCanceled)
Microsoft.Extensions.Diagnostics.ExceptionSummarization (4)
HttpExceptionSummaryProvider.cs (4)
24private static readonly FrozenDictionary<WebExceptionStatus, int> _webExceptionStatusMap; 52var webStatuses = new Dictionary<WebExceptionStatus, int>(); 54foreach (var status in Enum.GetValues<WebExceptionStatus>())
netstandard (1)
netstandard.cs (1)
1302[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.WebExceptionStatus))]
PresentationCore (2)
MS\Internal\WpfWebRequestHelper.cs (1)
77throw new WebException(requestUri.ToString(), WebExceptionStatus.RequestCanceled);
System\IO\Packaging\PackWebResponse.cs (1)
885_responseException = new WebException(SR.Format(SR.WebRequestTimeout, null), WebExceptionStatus.Timeout);
System (1)
src\libraries\shims\System\ref\System.cs (1)
792[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.WebExceptionStatus))]
System.Net (1)
System.Net.cs (1)
52[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.WebExceptionStatus))]
System.Net.HttpListener (1)
System\Net\Managed\ChunkStream.cs (1)
392WebException we = new WebException(message, null, WebExceptionStatus.ServerProtocolViolation, null);
System.Net.Requests (3)
artifacts\obj\System.Net.Requests\Debug\net10.0\System.Net.Requests.notsupported.cs (3)
318public WebException(string? message, System.Exception? innerException, System.Net.WebExceptionStatus status, System.Net.WebResponse? response) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); } 319public WebException(string? message, System.Net.WebExceptionStatus status) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); } 321public System.Net.WebExceptionStatus Status { get { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); } }
System.Net.WebClient (2)
System\Net\WebClient.cs (2)
839throw new WebException(SR.net_webstatus_MessageLengthLimitExceeded, WebExceptionStatus.MessageLengthLimitExceeded); 886throw new WebException(SR.net_webstatus_MessageLengthLimitExceeded, WebExceptionStatus.MessageLengthLimitExceeded);