HandleErrorInfo(Exception, String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Public Sub New (exception As Exception, controllerName As String, actionName As String)
Parameters
- exception
- Exception
The exception.
- controllerName
- String
The name of the controller.
- actionName
- String
The name of the action.
Exceptions
The exception
parameter is null.
The controllerName
or actionName
parameter is null or empty.