Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HandleErrorInfo Constructor (Exception, String, String)

 

Initializes a new instance of the HandleErrorInfo class.

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

public HandleErrorInfo(
	Exception exception,
	string controllerName,
	string actionName
)

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.

Exception Condition
ArgumentNullException

The exception parameter is null.

ArgumentException

The controllerName or actionName parameter is null or empty.

Return to top
Show:
© 2015 Microsoft