41 writes to StatusCode
System.Runtime.Remoting (2)
channels\http\httpremotinghandler.cs (2)
300
context.Response.
StatusCode
= (int) HttpStatusCode.InternalServerError;
663
httpResponse.
StatusCode
= statusCode;
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (1)
889
this.context.Response.
StatusCode
= statusCode;
System.Web (34)
Abstractions\HttpResponseWrapper.cs (1)
200
_httpResponse.
StatusCode
= value;
HttpContext.cs (1)
366
Response.
StatusCode
= (int)HttpStatusCode.SwitchingProtocols; // 101
HttpDebugHandler.cs (7)
154
context.Response.
StatusCode
= 403;
164
context.Response.
StatusCode
= 500;
177
context.Response.
StatusCode
= 500;
192
context.Response.
StatusCode
= 401;
203
context.Response.
StatusCode
= 500;
224
context.Response.
StatusCode
= 401;
244
context.Response.
StatusCode
= 500;
HttpResponse.cs (10)
520
this.
StatusCode
= 200;
1131
StatusCode
= rawResponse.StatusCode;
1384
StatusCode
= code;
1399
StatusCode
= 500;
1408
StatusCode
= code;
1536
StatusCode
= statusCode;
2118
StatusCode
= 200;
2417
this.
StatusCode
= permanent ? 301 : 302;
3051
this.
StatusCode
= code;
3389
this.
StatusCode
= 200;
HttpRuntime.cs (1)
1738
response.
StatusCode
= 503;
OutputCacheModule.cs (1)
955
response.
StatusCode
= 304;
Security\AuthStoreRoleProvider.cs (1)
597
context.Response.
StatusCode
= 500;
Security\PassportAuthenticationModule.cs (1)
180
context.Response.
StatusCode
= 200;
Security\PassportIdentity.cs (1)
826
context.Response.
StatusCode
= 401;
Security\UrlAuthorizationModule.cs (1)
111
context.Response.
StatusCode
= 401;
State\StateRuntime.cs (5)
298
response.
StatusCode
= 400;
313
response.
StatusCode
= 423;
332
context.Response.
StatusCode
= 404;
470
context.Response.
StatusCode
= 200;
696
context.Response.
StatusCode
= 400;
StaticFileHandler.cs (3)
468
response.
StatusCode
= 206;
569
response.
StatusCode
= 400;
574
response.
StatusCode
= 416;
UI\WebControls\loginstatus.cs (1)
291
Page.Response.
StatusCode
= 200;
System.Web.DataVisualization (1)
WebForm\General\ChartHttpHandler.cs (1)
721
context.Response.
StatusCode
= 404;
System.Web.Extensions (3)
HttpResponseInternalWrapper.cs (1)
184
_httpResponse.
StatusCode
= value;
Script\Services\RestHandler.cs (1)
221
context.Response.
StatusCode
= statusCode;
Script\Services\WebServiceClientProxyGenerator.cs (1)
46
context.Response.
StatusCode
= 304;
20 references to StatusCode
System.Web (19)
Abstractions\HttpResponseWrapper.cs (1)
197
return _httpResponse.
StatusCode
;
HttpApplication.cs (1)
3650
|| context.Response.
StatusCode
!= (int)HttpStatusCode.SwitchingProtocols) {
HttpRequest.cs (2)
2598
(_context.Response.
StatusCode
== 404 || _context.Response.
StatusCode
== 400) &&
HttpResponse.cs (5)
518
int statusCode =
StatusCode
;
528
_wr.SendStatus(this.
StatusCode
, this.StatusDescription);
3035
return this.
StatusCode
.ToString(NumberFormatInfo.InvariantInfo) + " " + this.StatusDescription;
3387
int statusCode =
StatusCode
;
3400
_wr.SendStatus(this.
StatusCode
, this.SubStatusCode, this.StatusDescription);
HttpRuntime.cs (2)
1604
UpdatePerfCounters(context.Response.
StatusCode
);
1819
int statusCode = response.
StatusCode
;
OutputCacheModule.cs (1)
1055
if (response.
StatusCode
!= 200) {
Security\BackStopAuthenticationModule.cs (4)
106
if (context.Response.
StatusCode
> 200) { // Invalid credentials
107
if (context.Response.
StatusCode
== 401)
119
if (context.Response.
StatusCode
> 200) { // Invalid credentials
120
if (context.Response.
StatusCode
== 401)
Security\FormsAuthenticationModule.cs (1)
245
if (context.Response.
StatusCode
!= 401)
Security\PassportAuthenticationModule.cs (1)
175
if (context.Response.
StatusCode
!= 401 || id.WWWAuthHeaderSet)
UI\TraceContext.cs (1)
501
row[SR.Trace_Status_Code] = _context.Response.
StatusCode
;
System.Web.Extensions (1)
HttpResponseInternalWrapper.cs (1)
181
return _httpResponse.
StatusCode
;