ActionNameAttribute(String) Constructor

Definition

Initializes a new instance of the ActionNameAttribute class.

public ActionNameAttribute (string name);
new System.Web.Mvc.ActionNameAttribute : string -> System.Web.Mvc.ActionNameAttribute
Public Sub New (name As String)

Parameters

name
String

Name of the action.

Exceptions

The name parameter is null or empty.

Applies to