The Message type exposes the following members.

Methods

  Name Description
Protected method OnLoad (Overrides BasePage..::..OnLoad(EventArgs).)
Protected method OnPreInit (Overrides BasePage..::..OnPreInit(EventArgs).)
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.

Extension Methods

  Name Description
Public Extension Method ConvertTo(Type) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)()()()() Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)(TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method GetCurrentStackTrace
Gets current stack trace information.
(Defined by ObjectExtension.)
Public Extension Method GetDebugInformation
Gets the debug information for currently executing code.
(Defined by ObjectExtension.)
Public Extension Method GetExecutingMethodName
Gets the executing method name.
(Defined by ObjectExtension.)
Public Extension Method GetPagerTemplate
Gets pager template.
(Defined by ControlExtension.)
Public Extension Method GetPropertyType
Gets a property type.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyValue
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.)
Public Extension Method PropertyExists
Check if property exists.
(Defined by ObjectExtension.)
Public Extension Method SetPropertyValue
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.)

See Also