The Message type exposes the following members.
Methods
Name | Description | |
---|---|---|
OnLoad | (Overrides BasePage..::..OnLoad(EventArgs).) | |
OnPreInit | (Overrides BasePage..::..OnPreInit(EventArgs).) | |
Show(String) |
Displays the message. Uses the message page URL form the web.config (MessagePageUrl).
|
|
Show(String, HttpStatusCode) |
Displays the message. Uses the message page URL form the web.config (MessagePageUrl).
|
|
Show(String, String) |
Displays the message. Uses the message page URL form the web.config (MessagePageUrl).
|
|
Show(String, String, String) |
Displays the message. Message page URL is passed as a path parameter.
|
|
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.
|
|
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 | |
---|---|---|
ConvertTo(Type) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)()()()() | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)(TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
GetCurrentStackTrace |
Gets current stack trace information.
(Defined by ObjectExtension.) |
|
GetDebugInformation |
Gets the debug information for currently executing code.
(Defined by ObjectExtension.) |
|
GetExecutingMethodName |
Gets the executing method name.
(Defined by ObjectExtension.) |
|
GetPagerTemplate |
Gets pager template.
(Defined by ControlExtension.) |
|
GetPropertyType |
Gets a property type.
(Defined by ObjectExtension.) |
|
GetPropertyValue |
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.) |
|
PropertyExists |
Check if property exists.
(Defined by ObjectExtension.) |
|
SetPropertyValue |
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.) |