HandleErrorInfo(Exception, String, String) HandleErrorInfo(Exception, String, String) Constructor

Definition

Initializes a new instance of the HandleErrorInfo class.

public HandleErrorInfo (Exception exception, string controllerName, string actionName);
new System.Web.Mvc.HandleErrorInfo : Exception * string * string -> System.Web.Mvc.HandleErrorInfo

Parameters

exception
Exception Exception

The exception.

controllerName
String String

The name of the controller.

actionName
String String

The name of the action.

Exceptions

The controllerName or actionName parameter is null or empty.

Applies to