Class IisCustomError
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a Microsoft IIS custom error (.NET error page).
public class IisCustomError : IisConfigurationElement, IComparable<IisCustomError>
- Inheritance
-
IisCustomError
- Implements
- Inherited Members
Constructors
IisCustomError()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.IisCustomError class.
public IisCustomError()
Properties
Redirect
Gets or sets the redirect URL.
public string Redirect { get; set; }
Property Value
StatusCode
Gets or sets the status code of the error.
public int StatusCode { get; set; }
Property Value
Methods
CompareTo(IisCustomError)
Compares two CENTREL.XIA.Configuration.Types.IisCustomError objects to allow sorting by status code.
public int CompareTo(IisCustomError other)
Parameters
other
IisCustomErrorThe CENTREL.XIA.Configuration.Types.IisCustomError to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.IisCustomError objects.
ToString()
Returns the custom error as a human readable string.
public override string ToString()
Returns
- string
The custom error as a human readable string.