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.

System.Object
  System.Web.Mvc.HandleErrorInfo

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

public class HandleErrorInfo

The HandleErrorInfo type exposes the following members.

  NameDescription
Public methodHandleErrorInfoInitializes a new instance of the HandleErrorInfo class.
Top

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

  NameDescription
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.)
Top

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