RemoteAttribute Constructor (String, String)

Initializes a new instance of the RemoteAttribute class using the specified action-method name and controller name.

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

public RemoteAttribute(
	string action,
	string controller
)

Parameters

action
Type: System.String
The name of the action method.
controller
Type: System.String
The name of the controller.
Show: