Overload List

  Name Description
Public method Static member Show(String)
Displays the message. Uses the message page URL form the web.config (MessagePageUrl).
Public method Static member Show(String, HttpStatusCode)
Displays the message. Uses the message page URL form the web.config (MessagePageUrl).
Public method Static member Show(String, String)
Displays the message. Uses the message page URL form the web.config (MessagePageUrl).
Public method Static member Show(String, String, String)
Displays the message. Message page URL is passed as a path parameter.
Public method Static member Show(String, String, String, Int32)
Displays the message and returns a status code to the calling browser. Usually used to display a warning text along with the proper HTTP code - for example, when a custom 404 error is to be displayed to the user, but with proper 404 code sent in response headers (as oposed to IIS custom error page that returns 302+200). Should skip the IIS custom error pages when used in IIS 7 integrated mode. Message page URL is passed as a path parameter.
Public method Static member Show(String, String, String, HttpStatusCode)
Displays the message and returns a status code to the calling browser. Usually used to display a warning text along with the proper HTTP code - for example, when a custom 404 error is to be displayed to the user, but with proper 404 code sent in response headers (as oposed to IIS custom error page that returns 302+200). Should skip the IIS custom error pages when used in IIS 7 integrated mode. Message page URL is passed as a path parameter.

See Also