Udostępnij za pośrednictwem


HandleErrorInfo Constructor

Initializes a new instance of the HandleErrorInfo class.

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

Syntax

'Declaration
Public Sub New ( _
    exception As Exception, _
    controllerName As String, _
    actionName As String _
)
public HandleErrorInfo(
    Exception exception,
    string controllerName,
    string actionName
)
public:
HandleErrorInfo(
    Exception^ exception, 
    String^ controllerName, 
    String^ actionName
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

The exception parameter is null reference (Nothing in Visual Basic).

ArgumentException

The controllerName or actionName parameter is null reference (Nothing in Visual Basic) or empty.

See Also

Reference

HandleErrorInfo Class

System.Web.Mvc Namespace