5 writes to StatusCode
Microsoft.AspNetCore.Server.IIS (5)
Core\IISHttpContext.cs (2)
165
StatusCode
= 200;
554
StatusCode
= statusCode;
Core\IISHttpContext.FeatureCollection.cs (2)
167
set =>
StatusCode
= value;
360
StatusCode
= StatusCodes.Status101SwitchingProtocols;
Core\IISHttpContextOfT.cs (1)
95
StatusCode
= ClientDisconnected ? StatusCodes.Status499ClientClosedRequest : 0;
6 references to StatusCode
Microsoft.AspNetCore.Server.IIS (6)
Core\IISHttpContext.cs (5)
348
ThrowResponseAlreadyStartedException(nameof(
StatusCode
));
485
return
StatusCode
!= 204
486
&&
StatusCode
!= 304;
579
var reasonPhrase = string.IsNullOrEmpty(ReasonPhrase) ? ReasonPhrases.GetReasonPhrase(
StatusCode
) : ReasonPhrase;
582
NativeMethods.HttpSetResponseStatusCode(_requestNativeHandle, (ushort)
StatusCode
, reasonPhrase);
Core\IISHttpContext.FeatureCollection.cs (1)
166
get =>
StatusCode
;