Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ExceptionContext Constructor (ControllerContext, Exception)

Initializes a new instance of the ExceptionContext class for the specified exception by using the specified controller context.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public ExceptionContext(
	ControllerContext controllerContext,
	Exception exception
)

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

The controller context.

exception
Type: System.Exception

The exception.

ExceptionCondition
ArgumentNullException

The exception parameter is null.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.