ControllerName Property
Collapse the table of content
Expand the table of content

HandleErrorInfo.ControllerName Property


Gets or sets the name of the controller that contains the action method that threw the exception.

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

public string ControllerName { get; private set; }

Property Value

Type: System.String

The name of the controller.

Return to top
© 2016 Microsoft