Table of Contents

Class IisHttpError

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents a Microsoft IIS HTTP error.

public class IisHttpError : IisConfigurationElement, IComparable<IisHttpError>
Inheritance
IisHttpError
Implements
Inherited Members

Constructors

IisHttpError()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.IisHttpError class.

public IisHttpError()

Properties

FullStatusCode

Gets the full status code - for example "404" or "404.1".

public string FullStatusCode { get; set; }

Property Value

string

Path

Gets or sets the error path.

public string Path { get; set; }

Property Value

string

ResponseMode

Gets or sets the response mode.

public IisHttpErrorResponseMode ResponseMode { get; set; }

Property Value

IisHttpErrorResponseMode

StatusCode

Gets or sets the status code of the error.

public int StatusCode { get; set; }

Property Value

int

SubStatusCode

Gets or sets the status subcode of the error.

public int SubStatusCode { get; set; }

Property Value

int

Methods

CompareTo(IisHttpError)

Compares two CENTREL.XIA.Configuration.Types.IisHttpError objects to allow sorting by full status code.

public int CompareTo(IisHttpError other)

Parameters

other IisHttpError

The CENTREL.XIA.Configuration.Types.IisHttpError to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.IisHttpError objects.

ToString()

Returns the HTTP error as a human readable string.

public override string ToString()

Returns

string

The HTTP error as a human readable string.