Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
HandleErrorInfo Class
Collapse the table of content
Expand the table of content

HandleErrorInfo Class

Encapsulates information for handling an error that was thrown by an action method.


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

public class HandleErrorInfo

The HandleErrorInfo type exposes the following members.

Public methodHandleErrorInfoInitializes a new instance of the HandleErrorInfo class.

Public propertyActionNameGets or sets the name of the action that was executing when the exception was thrown.
Public propertyControllerNameGets or sets the name of the controller that contains the action method that threw the exception.
Public propertyExceptionGets or sets the exception object.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft