Class PortalSettingsExtensions
Inheritance
System.Object
PortalSettingsExtensions
Namespace: DotNetNuke.Entities.Portals
Assembly: DotNetNuke.dll
Syntax
public static class PortalSettingsExtensions : object
Methods
| Improve this Doc View SourceInErrorPageRequest(PortalSettings)
Detect whether current page is custom error page.
Declaration
public static bool InErrorPageRequest(this PortalSettings portalSettings)
Parameters
| Type | Name | Description |
|---|---|---|
| PortalSettings | portalSettings | The portal settings. |
Returns
| Type | Description |
|---|---|
| System.Boolean | true if the current page is an error page, otherwise false. |