ActionNameAttribute Constructor (String)

 

Initializes a new instance of the ActionNameAttribute class.

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

public ActionNameAttribute(
	string name
)

Parameters

name
Type: System.String

Name of the action.

Exception Condition
ArgumentException

The name parameter is null or empty.

Return to top
Show: