Udostępnij za pośrednictwem


HandleErrorInfo.ActionName Property

Gets or sets the name of the action that was executing when the exception was thrown.

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

Syntax

'Declaration
Public Property ActionName As String
    Get
    Private Set
public string ActionName { get; private set; }
public:
property String^ ActionName {
    String^ get ();
    private: void set (String^ value);
}

Property Value

Type: System.String
The name of the action.

See Also

Reference

HandleErrorInfo Class

System.Web.Mvc Namespace