RemoteAttribute Constructor
Initializes a new instance of the RemoteAttribute class.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
| Name | Description | |
|---|---|---|
![]() | RemoteAttribute() | Initializes a new instance of the RemoteAttribute class. |
![]() | RemoteAttribute(String) | Initializes a new instance of the RemoteAttribute class using the specified route name. |
![]() | RemoteAttribute(String, String) | Initializes a new instance of the RemoteAttribute class using the specified action-method name and controller name. |
![]() | RemoteAttribute(String, String, AreaReference) | Initializes a new instance of the RemoteAttribute class. |
![]() | RemoteAttribute(String, String, String) | Initializes a new instance of the RemoteAttribute class using the specified action-method name, controller name, and area name. |
RemoteAttribute Constructor (String)
Initializes a new instance of the RemoteAttribute class using the specified route name.
RemoteAttribute Constructor (String, String)
Initializes a new instance of the RemoteAttribute class using the specified action-method name and controller name.
Parameters
- action
-
Type:
System.String
The name of the action method.
- controller
-
Type:
System.String
The name of the controller.
RemoteAttribute Constructor (String, String, AreaReference)
Initializes a new instance of the RemoteAttribute class.
Parameters
- action
-
Type:
System.String
The route name.
- controller
-
Type:
System.String
The name of the controller.
- areaReference
-
Type:
System.Web.Mvc.AreaReference
Find the controller in the root if UseRoot. Otherwise look in the current area.
RemoteAttribute Constructor (String, String, String)
Initializes a new instance of the RemoteAttribute class using the specified action-method name, controller name, and area name.
Parameters
- action
-
Type:
System.String
The name of the action method.
- controller
-
Type:
System.String
The name of the controller.
- areaName
-
Type:
System.String
The name of the area.

