Class IisCustomErrors
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents the IIS custom errors (.NET error pages) configuration.
public class IisCustomErrors : BypassSection
- Inheritance
-
IisCustomErrors
- Inherited Members
Constructors
IisCustomErrors()
Intializes a new instance of the CENTREL.XIA.Configuration.Types.IisCustomErrors class.
public IisCustomErrors()
Properties
AllowNestedErrors
Gets or sets whether to allow nested errors.
public BooleanOption AllowNestedErrors { get; set; }
Property Value
DefaultRedirect
Gets or sets the default redirect.
public string DefaultRedirect { get; set; }
Property Value
Items
Gets or sets the items in the collection.
public IisCustomErrorCollection Items { get; set; }
Property Value
Mode
Gets or sets the custom errors mode.
public IisCustomErrorsMode Mode { get; set; }
Property Value
RedirectMode
Gets or sets the custom errors redirect mode.
public IisCustomErrorsRedirectMode RedirectMode { get; set; }
Property Value
Methods
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.IisCustomErrors class from the specified Xml.
public static IisCustomErrors FromXml(string xml)
Parameters
xml
stringThe XML representation of the CENTREL.XIA.Configuration.Types.IisCustomErrors object
Returns
- IisCustomErrors
A CENTREL.XIA.Configuration.Types.IisCustomErrors class from the specified Xml.
ToString()
Returns the custom errors as human readable string.
public override string ToString()
Returns
- string
The custom errors as a human readable string.