Partager via


ActionNameAttribute Constructor

Initializes a new instance of the ActionNameAttribute class.

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

Syntax

'Declaration
Public Sub New ( _
    name As String _
)
public ActionNameAttribute(
    string name
)
public:
ActionNameAttribute(
    String^ name
)

Parameters

Exceptions

Exception Condition
ArgumentException

The name parameter is null reference (Nothing in Visual Basic) or empty.

See Also

Reference

ActionNameAttribute Class

System.Web.Mvc Namespace