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