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

Applies to