Sdílet prostřednictvím


RemoteAttribute Konstruktory

Definice

Přetížení

RemoteAttribute()

Inicializuje novou instanci RemoteAttribute třídy .

RemoteAttribute(String)

Inicializuje novou instanci RemoteAttribute třídy pomocí zadaného názvu trasy.

RemoteAttribute(String, String)

Inicializuje novou instanci RemoteAttribute třídy pomocí zadaného názvu metody akce a názvu kontroleru.

RemoteAttribute(String, String, String)

Inicializuje novou instanci RemoteAttribute třídy pomocí zadaného názvu metody akce, názvu kontroleru a názvu oblasti.

RemoteAttribute(String, String, AreaReference)

Inicializuje novou instanci RemoteAttribute třídy .

RemoteAttribute()

Inicializuje novou instanci RemoteAttribute třídy .

protected RemoteAttribute ();
Protected Sub New ()

Platí pro

RemoteAttribute(String)

Inicializuje novou instanci RemoteAttribute třídy pomocí zadaného názvu trasy.

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

Parametry

routeName
String

Název trasy.

Platí pro

RemoteAttribute(String, String)

Inicializuje novou instanci RemoteAttribute třídy pomocí zadaného názvu metody akce a názvu kontroleru.

public RemoteAttribute (string action, string controller);
new System.Web.Mvc.RemoteAttribute : string * string -> System.Web.Mvc.RemoteAttribute
Public Sub New (action As String, controller As String)

Parametry

action
String

Název metody akce.

controller
String

Název kontroleru.

Platí pro

RemoteAttribute(String, String, String)

Inicializuje novou instanci RemoteAttribute třídy pomocí zadaného názvu metody akce, názvu kontroleru a názvu oblasti.

public RemoteAttribute (string action, string controller, string areaName);
new System.Web.Mvc.RemoteAttribute : string * string * string -> System.Web.Mvc.RemoteAttribute
Public Sub New (action As String, controller As String, areaName As String)

Parametry

action
String

Název metody akce.

controller
String

Název kontroleru.

areaName
String

Název oblasti.

Platí pro

RemoteAttribute(String, String, AreaReference)

Inicializuje novou instanci RemoteAttribute třídy .

public RemoteAttribute (string action, string controller, System.Web.Mvc.AreaReference areaReference);
new System.Web.Mvc.RemoteAttribute : string * string * System.Web.Mvc.AreaReference -> System.Web.Mvc.RemoteAttribute
Public Sub New (action As String, controller As String, areaReference As AreaReference)

Parametry

action
String

Název trasy.

controller
String

Název kontroleru.

areaReference
AreaReference

Vyhledejte kontroler v kořenovém adresáři, pokud UseRoot. V opačném případě se podívejte do aktuální oblasti.

Platí pro