csharp Output 500 Internal Server Error
/// <summary> /// Outputs a 500 "Internal Server Error" /// </summary> protected void Failure() { Response.StatusCode = 500; Response.SuppressContent = true; HttpContext.Current.ApplicationInstance.CompleteRequest(); }
Outputs a 500 "Internal Server Error" to the client.
Updated: Thursday 19th May 2011, 08:36am
There are 0 comments
Comments are currently closed.