30 references to InternalServerError
System (5)
net\System\Net\Cache\HttpRequestCacheValidator.cs (1)
354if (resp.StatusCode >= HttpStatusCode.InternalServerError) {
net\System\Net\HttpListener.cs (4)
1422SendError(requestId, HttpStatusCode.InternalServerError, null); 1493HttpStatusCode httpError = HttpStatusCode.InternalServerError; 1858SendError(requestId, HttpStatusCode.InternalServerError, null); 2528return HttpStatusCode.InternalServerError;
System.Data.Services.Client (1)
System\Data\Services\Client\DataServiceContext.cs (1)
5366int statusCode = this.batchResponse == null ? (int)HttpStatusCode.InternalServerError : (int)this.batchResponse.StatusCode;
System.Runtime.Remoting (1)
channels\http\httpremotinghandler.cs (1)
300context.Response.StatusCode = (int) HttpStatusCode.InternalServerError;
System.ServiceModel (10)
System\ServiceModel\Channels\HttpChannelHelpers.cs (4)
2920this.SetStatusCode(HttpStatusCode.InternalServerError); 3611if (response.StatusCode == HttpStatusCode.InternalServerError && 3833if ((200 <= (int)response.StatusCode && (int)response.StatusCode < 300) || response.StatusCode == HttpStatusCode.InternalServerError) 3835if (response.StatusCode == HttpStatusCode.InternalServerError
System\ServiceModel\Channels\HttpChannelListener.cs (1)
1533HttpResponseMessage response = new HttpResponseMessage(HttpStatusCode.InternalServerError);
System\ServiceModel\Channels\HttpPipeline.cs (3)
388static readonly HttpResponseMessage internalServerErrorHttpResponseMessage = new HttpResponseMessage(HttpStatusCode.InternalServerError); 713httpResponseMessage.StatusCode = message.IsFault ? HttpStatusCode.InternalServerError : HttpStatusCode.OK; 837this.HttpRequestContext.SendResponseAndClose(HttpStatusCode.InternalServerError);
System\ServiceModel\Description\ServiceMetadataExtension.cs (1)
1056AddHttpProperty(reply, HttpStatusCode.InternalServerError, HtmlContentType);
System\ServiceModel\Dispatcher\ClientRuntime.cs (1)
470if (prop == null || prop.StatusCode != HttpStatusCode.InternalServerError)
System.ServiceModel.Activation (2)
System\ServiceModel\Activation\HostedHttpContext.cs (1)
487this.statusCode = (int)HttpStatusCode.InternalServerError;
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (1)
462SetStatusCode((int)HttpStatusCode.InternalServerError);
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\MessageExtensionMethods.cs (1)
170message.IsFault ? HttpStatusCode.InternalServerError : HttpStatusCode.OK;
System.ServiceModel.Web (3)
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (1)
424responseProperty.StatusCode = System.Net.HttpStatusCode.InternalServerError;
System\ServiceModel\Dispatcher\WebFaultClientMessageInspector.cs (1)
26if (prop != null && prop.StatusCode == HttpStatusCode.InternalServerError)
System\ServiceModel\Web\WebFaultException.cs (1)
71if ((int) statusCode >= (int) HttpStatusCode.InternalServerError)
System.Web.Extensions (1)
Script\Services\RestHandler.cs (1)
212WriteExceptionJsonString(context, ex, (int)HttpStatusCode.InternalServerError);
System.Web.Services (6)
System\Web\Services\Protocols\DiscoveryServerProtocol.cs (1)
342Response.StatusCode = (int) HttpStatusCode.InternalServerError;
System\Web\Services\Protocols\HttpServerProtocol.cs (1)
223SetHttpResponseStatusCode(Response, (int)HttpStatusCode.InternalServerError);
System\Web\Services\Protocols\Soap11ServerProtocol.cs (1)
89if (statusCode != HttpStatusCode.InternalServerError)
System\Web\Services\Protocols\Soap12ServerProtocol.cs (1)
109if (statusCode != HttpStatusCode.InternalServerError)
System\Web\Services\Protocols\SoapServerProtocol.cs (2)
939(int)HttpStatusCode.InternalServerError); 949(int)HttpStatusCode.InternalServerError);