6 references to Forbidden
System (2)
net\System\Net\_Connection.cs (1)
2249else if (m_ResponseData.m_StatusCode == HttpStatusCode.Forbidden && NetworkStream is TlsStream)
net\System\Net\HttpListener.cs (1)
1896SendError(requestId, challenges != null && challenges.Count > 0 ? HttpStatusCode.Unauthorized : HttpStatusCode.Forbidden, challenges);
System.ServiceModel (3)
System\ServiceModel\Channels\HttpChannelHelpers.cs (1)
3788if (response.StatusCode == HttpStatusCode.Forbidden)
System\ServiceModel\Channels\HttpRequestContext.cs (1)
365statusCode = HttpStatusCode.Forbidden;
System\ServiceModel\Channels\HttpsChannelListener.cs (1)
30const HttpStatusCode CertificateErrorStatusCode = HttpStatusCode.Forbidden;
System.Web (1)
HttpContext.cs (1)
341throw new HttpException((int)HttpStatusCode.Forbidden, SR.GetString(SR.WebSockets_OriginCheckFailed));