11 references to StatusCode
dotnet-svcutil-lib (4)
Metadata\HttpAuthenticationHelper.cs (3)
38
((response.
StatusCode
== HttpStatusCode.Unauthorized) || (response.
StatusCode
== HttpStatusCode.ProxyAuthenticationRequired)))
56
if (webException.Response is HttpWebResponse response && response.
StatusCode
== HttpStatusCode.Forbidden)
Metadata\MetadaExchangeResolver.cs (1)
270
if (webResponse.
StatusCode
!= HttpStatusCode.OK)
Microsoft.ML.Core (2)
Utilities\ResourceManagerUtils.cs (2)
325
if (webResponse.
StatusCode
== HttpStatusCode.Redirect && webResponse.Headers["Location"] == "https://www.microsoft.com/?ref=aka")
328
else if (webResponse.
StatusCode
== HttpStatusCode.MovedPermanently)
PresentationCore (1)
MS\Internal\IO\Packaging\ByteRangeDownloader.cs (1)
513
if (webResponse.
StatusCode
== HttpStatusCode.PartialContent)
System.Net.Requests (4)
System\Net\HttpWebRequest.cs (3)
1259
if ((int)response.
StatusCode
> maxSuccessStatusCode || (int)response.
StatusCode
< 200)
1262
SR.Format(SR.net_servererror, (int)response.
StatusCode
, response.StatusDescription),
System\Net\HttpWebResponse.cs (1)
344
if (maxErrorResponseLength < 0 ||
StatusCode
< HttpStatusCode.BadRequest)