RemoteAttribute Konstruktory
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
| RemoteAttribute() |
Inicializuje novou instanci RemoteAttribute třídy . |
| RemoteAttribute(String) |
Inicializuje novou instanci RemoteAttribute třídy . |
| RemoteAttribute(String, String) |
Inicializuje novou instanci RemoteAttribute třídy . |
| RemoteAttribute(String, String, String) |
Inicializuje novou instanci RemoteAttribute třídy . |
RemoteAttribute()
- Zdroj:
- RemoteAttribute.cs
- Zdroj:
- RemoteAttribute.cs
- Zdroj:
- RemoteAttribute.cs
Inicializuje novou instanci RemoteAttribute třídy .
protected:
RemoteAttribute();
protected RemoteAttribute();
Protected Sub New ()
Poznámky
Jsou určené pro podtřídy, které podporují generování adres URL bez názvu trasy, akce nebo kontroleru.
Platí pro
RemoteAttribute(String)
- Zdroj:
- RemoteAttribute.cs
- Zdroj:
- RemoteAttribute.cs
- Zdroj:
- RemoteAttribute.cs
Inicializuje novou instanci RemoteAttribute třídy .
public:
RemoteAttribute(System::String ^ routeName);
public RemoteAttribute(string routeName);
new Microsoft.AspNetCore.Mvc.RemoteAttribute : string -> Microsoft.AspNetCore.Mvc.RemoteAttribute
Public Sub New (routeName As String)
Parametry
- routeName
- String
Název trasy použitý při generování adresy URL, kam má klient odeslat žádost o ověření.
Poznámky
Najde v routeName libovolné oblasti aplikace .
Platí pro
RemoteAttribute(String, String)
- Zdroj:
- RemoteAttribute.cs
- Zdroj:
- RemoteAttribute.cs
- Zdroj:
- RemoteAttribute.cs
Inicializuje novou instanci RemoteAttribute třídy .
public:
RemoteAttribute(System::String ^ action, System::String ^ controller);
public RemoteAttribute(string action, string controller);
new Microsoft.AspNetCore.Mvc.RemoteAttribute : string * string -> Microsoft.AspNetCore.Mvc.RemoteAttribute
Public Sub New (action As String, controller As String)
Parametry
- action
- String
Název akce použitý při generování adresy URL, kam má klient odeslat žádost o ověření.
- controller
- String
Název kontroleru použitý při generování adresy URL, kam má klient odeslat žádost o ověření.
Poznámky
Pokud je nullnebo controlleraction , použije odpovídající hodnotu okolí.
Najde v controller aktuální oblasti.
Platí pro
RemoteAttribute(String, String, String)
- Zdroj:
- RemoteAttribute.cs
- Zdroj:
- RemoteAttribute.cs
- Zdroj:
- RemoteAttribute.cs
Inicializuje novou instanci RemoteAttribute třídy .
public:
RemoteAttribute(System::String ^ action, System::String ^ controller, System::String ^ areaName);
public RemoteAttribute(string action, string controller, string areaName);
new Microsoft.AspNetCore.Mvc.RemoteAttribute : string * string * string -> Microsoft.AspNetCore.Mvc.RemoteAttribute
Public Sub New (action As String, controller As String, areaName As String)
Parametry
- action
- String
Název akce použitý při generování adresy URL, kam má klient odeslat žádost o ověření.
- controller
- String
Název kontroleru použitý při generování adresy URL, kam má klient odeslat žádost o ověření.
- areaName
- String
Název oblasti obsahující controller.
Poznámky
Pokud je nullnebo controlleraction , použije odpovídající hodnotu okolí.
Pokud areaName je null, najde controller v kořenové oblasti hodnotu .
RemoteAttribute(String, String) Použijte přetížení najít v controller aktuální oblasti. Nebo explicitně předejte název aktuální oblasti jako areaName argument tomuto přetížení.