Share via


CustomErrorDescription (WMI)

This class corresponds to the CustomErrorDescriptions property in the metabase which provides a list of custom error messages.

IIsStructuredDataClass (WMI)

Methods

The CustomErrorDescription object has no methods.

Properties

The CustomErrorDescription object defines the following properties, in addition to those inherited from IIsStructuredDataClass (WMI).

Property

Data type

Description

ErrorCode

String

The ErrorCode property specifies the error code, for example, "401". Error 401 is a server or DNS error.

ErrorSubCode

String

The ErrorSubCode property specifies the error subcode, for example,"5". Error 401-5 is a failure to authorize by an ISAPI or CGI application.

ErrorSubcodeText

String

The ErrorSubcodeText property specifies the text that you want displayed which corresponds to the error subcode.

ErrorText

String

The ErrorText property specifies the text that you want displayed which corresponds to the error code.

FileSupportOnly

String

The FileSupportOnly property specifies the type of file support. Specify a "1" for file support only. Specify a "0" for file and URL support.

Requirements

Server: Requires or Windows Server 2003.

Product: IIS

See Also