Set the http status code to XXX.X?
I know I can set Response.StatusCode
to an integer value, such as 500. How can I set it to 4开发者_StackOverflow社区01.2?
You could use the SubStatusCode property. You should note that setting this property requires running in IIS 7.0 integrated pipeline mode.
You can use the SubStatusCode
property
精彩评论