RemoteAttribute コンストラクター

定義

オーバーロード

RemoteAttribute()

RemoteAttribute クラスの新しいインスタンスを初期化します。

RemoteAttribute(String)

RemoteAttribute クラスの新しいインスタンスを初期化します。

RemoteAttribute(String, String)

RemoteAttribute クラスの新しいインスタンスを初期化します。

RemoteAttribute(String, String, String)

RemoteAttribute クラスの新しいインスタンスを初期化します。

RemoteAttribute()

RemoteAttribute クラスの新しいインスタンスを初期化します。

protected:
 RemoteAttribute();
protected RemoteAttribute ();
Protected Sub New ()

注釈

ルート、アクション、コントローラー名のない URL 生成をサポートするサブクラスを対象としています。

適用対象

RemoteAttribute(String)

RemoteAttribute クラスの新しいインスタンスを初期化します。

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)

パラメーター

routeName
String

クライアントが検証要求を送信する URL を生成するときに使用されるルート名。

注釈

アプリケーションの routeName 任意の領域で を検索します。

適用対象

RemoteAttribute(String, String)

RemoteAttribute クラスの新しいインスタンスを初期化します。

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)

パラメーター

action
String

クライアントが検証要求を送信する URL を生成するときに使用されるアクション名。

controller
String

クライアントが検証要求を送信する URL を生成するときに使用されるコントローラー名。

注釈

または controller が のaction場合は、null対応するアンビエント値が使用されます。

現在の領域の を controller 検索します。

適用対象

RemoteAttribute(String, String, String)

RemoteAttribute クラスの新しいインスタンスを初期化します。

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)

パラメーター

action
String

クライアントが検証要求を送信する URL を生成するときに使用されるアクション名。

controller
String

クライアントが検証要求を送信する URL を生成するときに使用されるコントローラー名。

areaName
String

を含む領域の controller名前。

注釈

または controller が のaction場合は、null対応するアンビエント値が使用されます。

が のnull場合areaName、ルート領域で がcontroller検索されます。 現在の領域で オーバーロード RemoteAttribute(String, String) find を controller 使用します。 または、現在の領域の名前を引数として areaName 明示的にこのオーバーロードに渡します。

適用対象