CustomErrorCollection.Item Property (String)

 
Use BaseTrue

Gets the CustomError with the specified status code.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

public CustomError this[
	string statusCode
] { get; }

Parameters

statusCode
Type: System.String

The HTTP status code.

Property Value

Type: System.Web.Configuration.CustomError

The CustomError with the specified status code.

.NET Framework
Available since 2.0
Return to top
Show: