Table of Contents

Class IisHttpErrorCollection

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

Represents a collection of IIS HTTP errors.

public class IisHttpErrorCollection : Collection<IisHttpError>, IList<IisHttpError>, ICollection<IisHttpError>, IList, ICollection, IReadOnlyList<IisHttpError>, IReadOnlyCollection<IisHttpError>, IEnumerable<IisHttpError>, IEnumerable
Inheritance
IisHttpErrorCollection
Implements
Inherited Members

Constructors

IisHttpErrorCollection()

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

public IisHttpErrorCollection()

Methods

Exists(int)

Returns a System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.IisHttpError with the specified status code exists within the collection.

public bool Exists(int statusCode)

Parameters

statusCode int

The status code of the CENTREL.XIA.Configuration.Types.IisHttpError to locate.

Returns

bool

A System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.IisHttpError with the specified status code exists within the collection.

Exists(int, int)

Returns a System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.IisHttpError with the specified status code and substatus code exists within the collection.

public bool Exists(int statusCode, int subStatusCode)

Parameters

statusCode int

The status code of the CENTREL.XIA.Configuration.Types.IisHttpError to locate.

subStatusCode int

The substatus code of the CENTREL.XIA.Configuration.Types.IisHttpError to locate.

Returns

bool

A System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.IisHttpError with the specified status code and substatus code exists within the collection.

FindByStatusCode(int)

Returns the CENTREL.XIA.Configuration.Types.IisHttpError with the specified status code, or null if no CENTREL.XIA.Configuration.Types.IisHttpError with the specified status code is found.

public IisHttpError FindByStatusCode(int statusCode)

Parameters

statusCode int

The status code of the CENTREL.XIA.Configuration.Types.IisHttpError to locate.

Returns

IisHttpError

The CENTREL.XIA.Configuration.Types.IisHttpError with the specified status code.

FindByStatusCode(int, int)

Returns the CENTREL.XIA.Configuration.Types.IisHttpError with the specified status code and substatus code, or null if no CENTREL.XIA.Configuration.Types.IisHttpError with that specified status code and substatus code is found.

public IisHttpError FindByStatusCode(int statusCode, int subStatusCode)

Parameters

statusCode int

The status code of the CENTREL.XIA.Configuration.Types.IisHttpError to locate.

subStatusCode int

The substatus code of the CENTREL.XIA.Configuration.Types.IisHttpError to locate.

Returns

IisHttpError

The CENTREL.XIA.Configuration.Types.IisHttpError with the specified status code and substatus code.

Sort()

Sorts the values in the collection.

public void Sort()