HandleErrorInfo Constructor

Initializes a new instance of the HandleErrorInfo class.

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

new : 
        exception:Exception * 
        controllerName:string * 
        actionName:string -> HandleErrorInfo

Parameters

exception
Type: System.Exception

The exception.

controllerName
Type: System.String

The name of the controller.

actionName
Type: System.String

The name of the action.

ExceptionCondition
ArgumentNullException

The exception parameter is a null reference (Nothing in Visual Basic).

ArgumentException

The controllerName or actionName parameter is a null reference (Nothing in Visual Basic) or empty.

Show: