LocalRedirectResult コンストラクター

定義

オーバーロード

LocalRedirectResult(String)

指定した値を使って、LocalRedirectResult クラスの新しいインスタンスを初期化します。

LocalRedirectResult(String, Boolean)

指定した値を使って、LocalRedirectResult クラスの新しいインスタンスを初期化します。

LocalRedirectResult(String, Boolean, Boolean)

指定した値を使って、LocalRedirectResult クラスの新しいインスタンスを初期化します。

LocalRedirectResult(String)

指定した値を使って、LocalRedirectResult クラスの新しいインスタンスを初期化します。

public:
 LocalRedirectResult(System::String ^ localUrl);
public LocalRedirectResult (string localUrl);
new Microsoft.AspNetCore.Mvc.LocalRedirectResult : string -> Microsoft.AspNetCore.Mvc.LocalRedirectResult
Public Sub New (localUrl As String)

パラメーター

localUrl
String

リダイレクト先のローカル URL。

適用対象

LocalRedirectResult(String, Boolean)

指定した値を使って、LocalRedirectResult クラスの新しいインスタンスを初期化します。

public:
 LocalRedirectResult(System::String ^ localUrl, bool permanent);
public LocalRedirectResult (string localUrl, bool permanent);
new Microsoft.AspNetCore.Mvc.LocalRedirectResult : string * bool -> Microsoft.AspNetCore.Mvc.LocalRedirectResult
Public Sub New (localUrl As String, permanent As Boolean)

パラメーター

localUrl
String

リダイレクト先のローカル URL。

permanent
Boolean

リダイレクトを永続的にする (301) か一時 (302) かを指定します。

適用対象

LocalRedirectResult(String, Boolean, Boolean)

指定した値を使って、LocalRedirectResult クラスの新しいインスタンスを初期化します。

public:
 LocalRedirectResult(System::String ^ localUrl, bool permanent, bool preserveMethod);
public LocalRedirectResult (string localUrl, bool permanent, bool preserveMethod);
new Microsoft.AspNetCore.Mvc.LocalRedirectResult : string * bool * bool -> Microsoft.AspNetCore.Mvc.LocalRedirectResult
Public Sub New (localUrl As String, permanent As Boolean, preserveMethod As Boolean)

パラメーター

localUrl
String

リダイレクト先のローカル URL。

permanent
Boolean

リダイレクトを永続的にする (301) か一時 (302) かを指定します。

preserveMethod
Boolean

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

適用対象