ActionNameAttribute Constructor

Initializes a new instance of the ActionNameAttribute class.

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

public function ActionNameAttribute(
	name : String
)

Parameters

name
Type: System.String

Name of the action.

ExceptionCondition
ArgumentException

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

Show: