System.Web.Configuration.CustomErrorCollection.Set Method

Adds the specified System.Web.Configuration.CustomError to the collection.

Syntax

public void Set (CustomError customError)

Parameters

customError
The System.Web.Configuration.CustomError to add to the collection.

Remarks

This specified error replaces the current configuration error element.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0