HandleErrorInfo Constructor

Visual Studio 2010

Initializes a new instance of the HandleErrorInfo class.

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

'Declaration
Public Sub New ( _
	exception As Exception, _
	controllerName As String, _
	actionName As String _
)

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 Nothing.

ArgumentException

The controllerName or actionName parameter is Nothing or empty.

Community Additions

ADD
Show: