RedirectToActionResult コンストラクター

定義

オーバーロード

RedirectToActionResult(String, String, Object)

指定された値を使用して、 RedirectToActionResult の新しいインスタンスを初期化します。

RedirectToActionResult(String, String, Object, Boolean)

指定された値を使用して、 RedirectToActionResult の新しいインスタンスを初期化します。

RedirectToActionResult(String, String, Object, String)

指定された値を使用して、 RedirectToActionResult の新しいインスタンスを初期化します。

RedirectToActionResult(String, String, Object, Boolean, Boolean)

指定された値を使用して、 RedirectToActionResult の新しいインスタンスを初期化します。

RedirectToActionResult(String, String, Object, Boolean, String)

指定された値を使用して、 RedirectToActionResult の新しいインスタンスを初期化します。

RedirectToActionResult(String, String, Object, Boolean, Boolean, String)

指定された値を使用して、 RedirectToActionResult の新しいインスタンスを初期化します。

RedirectToActionResult(String, String, Object)

ソース:
RedirectToActionResult.cs
ソース:
RedirectToActionResult.cs

指定された値を使用して、 RedirectToActionResult の新しいインスタンスを初期化します。

public:
 RedirectToActionResult(System::String ^ actionName, System::String ^ controllerName, System::Object ^ routeValues);
public RedirectToActionResult (string actionName, string controllerName, object routeValues);
public RedirectToActionResult (string? actionName, string? controllerName, object? routeValues);
new Microsoft.AspNetCore.Mvc.RedirectToActionResult : string * string * obj -> Microsoft.AspNetCore.Mvc.RedirectToActionResult
Public Sub New (actionName As String, controllerName As String, routeValues As Object)

パラメーター

actionName
String

URL の生成に使用するアクションの名前。

controllerName
String

URL の生成に使用するコントローラーの名前。

routeValues
Object

URL の生成に使用するルート データ。

適用対象

RedirectToActionResult(String, String, Object, Boolean)

ソース:
RedirectToActionResult.cs
ソース:
RedirectToActionResult.cs

指定された値を使用して、 RedirectToActionResult の新しいインスタンスを初期化します。

public:
 RedirectToActionResult(System::String ^ actionName, System::String ^ controllerName, System::Object ^ routeValues, bool permanent);
public RedirectToActionResult (string actionName, string controllerName, object routeValues, bool permanent);
public RedirectToActionResult (string? actionName, string? controllerName, object? routeValues, bool permanent);
new Microsoft.AspNetCore.Mvc.RedirectToActionResult : string * string * obj * bool -> Microsoft.AspNetCore.Mvc.RedirectToActionResult
Public Sub New (actionName As String, controllerName As String, routeValues As Object, permanent As Boolean)

パラメーター

actionName
String

URL の生成に使用するアクションの名前。

controllerName
String

URL の生成に使用するコントローラーの名前。

routeValues
Object

URL の生成に使用するルート データ。

permanent
Boolean

true に設定すると、リダイレクトは永続的になります (301)。 それ以外の場合は、一時的なリダイレクトが使用されます (302)。

適用対象

RedirectToActionResult(String, String, Object, String)

ソース:
RedirectToActionResult.cs
ソース:
RedirectToActionResult.cs

指定された値を使用して、 RedirectToActionResult の新しいインスタンスを初期化します。

public:
 RedirectToActionResult(System::String ^ actionName, System::String ^ controllerName, System::Object ^ routeValues, System::String ^ fragment);
public RedirectToActionResult (string actionName, string controllerName, object routeValues, string fragment);
public RedirectToActionResult (string? actionName, string? controllerName, object? routeValues, string? fragment);
new Microsoft.AspNetCore.Mvc.RedirectToActionResult : string * string * obj * string -> Microsoft.AspNetCore.Mvc.RedirectToActionResult
Public Sub New (actionName As String, controllerName As String, routeValues As Object, fragment As String)

パラメーター

actionName
String

URL の生成に使用するアクションの名前。

controllerName
String

URL の生成に使用するコントローラーの名前。

routeValues
Object

URL の生成に使用するルート データ。

fragment
String

URL に追加するフラグメント。

適用対象

RedirectToActionResult(String, String, Object, Boolean, Boolean)

ソース:
RedirectToActionResult.cs
ソース:
RedirectToActionResult.cs

指定された値を使用して、 RedirectToActionResult の新しいインスタンスを初期化します。

public:
 RedirectToActionResult(System::String ^ actionName, System::String ^ controllerName, System::Object ^ routeValues, bool permanent, bool preserveMethod);
public RedirectToActionResult (string actionName, string controllerName, object routeValues, bool permanent, bool preserveMethod);
public RedirectToActionResult (string? actionName, string? controllerName, object? routeValues, bool permanent, bool preserveMethod);
new Microsoft.AspNetCore.Mvc.RedirectToActionResult : string * string * obj * bool * bool -> Microsoft.AspNetCore.Mvc.RedirectToActionResult
Public Sub New (actionName As String, controllerName As String, routeValues As Object, permanent As Boolean, preserveMethod As Boolean)

パラメーター

actionName
String

URL の生成に使用するアクションの名前。

controllerName
String

URL の生成に使用するコントローラーの名前。

routeValues
Object

URL の生成に使用するルート データ。

permanent
Boolean

true に設定すると、リダイレクトは永続的になります (301)。 それ以外の場合は、一時的なリダイレクトが使用されます (302)。

preserveMethod
Boolean

true に設定されている場合は、一時リダイレクト (307) または永続的リダイレクト (308) に初期要求メソッドを保持します。

適用対象

RedirectToActionResult(String, String, Object, Boolean, String)

ソース:
RedirectToActionResult.cs
ソース:
RedirectToActionResult.cs

指定された値を使用して、 RedirectToActionResult の新しいインスタンスを初期化します。

public:
 RedirectToActionResult(System::String ^ actionName, System::String ^ controllerName, System::Object ^ routeValues, bool permanent, System::String ^ fragment);
public RedirectToActionResult (string actionName, string controllerName, object routeValues, bool permanent, string fragment);
public RedirectToActionResult (string? actionName, string? controllerName, object? routeValues, bool permanent, string? fragment);
new Microsoft.AspNetCore.Mvc.RedirectToActionResult : string * string * obj * bool * string -> Microsoft.AspNetCore.Mvc.RedirectToActionResult
Public Sub New (actionName As String, controllerName As String, routeValues As Object, permanent As Boolean, fragment As String)

パラメーター

actionName
String

URL の生成に使用するアクションの名前。

controllerName
String

URL の生成に使用するコントローラーの名前。

routeValues
Object

URL の生成に使用するルート データ。

permanent
Boolean

true に設定すると、リダイレクトは永続的になります (301)。 それ以外の場合は、一時的なリダイレクトが使用されます (302)。

fragment
String

URL に追加するフラグメント。

適用対象

RedirectToActionResult(String, String, Object, Boolean, Boolean, String)

ソース:
RedirectToActionResult.cs
ソース:
RedirectToActionResult.cs

指定された値を使用して、 RedirectToActionResult の新しいインスタンスを初期化します。

public:
 RedirectToActionResult(System::String ^ actionName, System::String ^ controllerName, System::Object ^ routeValues, bool permanent, bool preserveMethod, System::String ^ fragment);
public RedirectToActionResult (string actionName, string controllerName, object routeValues, bool permanent, bool preserveMethod, string fragment);
public RedirectToActionResult (string? actionName, string? controllerName, object? routeValues, bool permanent, bool preserveMethod, string? fragment);
new Microsoft.AspNetCore.Mvc.RedirectToActionResult : string * string * obj * bool * bool * string -> Microsoft.AspNetCore.Mvc.RedirectToActionResult
Public Sub New (actionName As String, controllerName As String, routeValues As Object, permanent As Boolean, preserveMethod As Boolean, fragment As String)

パラメーター

actionName
String

URL の生成に使用するアクションの名前。

controllerName
String

URL の生成に使用するコントローラーの名前。

routeValues
Object

URL の生成に使用するルート データ。

permanent
Boolean

true に設定すると、リダイレクトは永続的になります (301)。 それ以外の場合は、一時的なリダイレクトが使用されます (302)。

preserveMethod
Boolean

true に設定した場合は、一時リダイレクト (307) と永続的リダイレクト (308) で初期要求メソッドを保持します。

fragment
String

URL に追加するフラグメント。

適用対象