PageBase.LocalRedirectPreserveMethod(String) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した localUrl
をLocalRedirectResult使用して、 を false に設定し、PreserveMethodtrue (Status307TemporaryRedirect) に設定した オブジェクトPermanentを作成します。
public:
virtual Microsoft::AspNetCore::Mvc::LocalRedirectResult ^ LocalRedirectPreserveMethod(System::String ^ localUrl);
public virtual Microsoft.AspNetCore.Mvc.LocalRedirectResult LocalRedirectPreserveMethod (string localUrl);
abstract member LocalRedirectPreserveMethod : string -> Microsoft.AspNetCore.Mvc.LocalRedirectResult
override this.LocalRedirectPreserveMethod : string -> Microsoft.AspNetCore.Mvc.LocalRedirectResult
Public Overridable Function LocalRedirectPreserveMethod (localUrl As String) As LocalRedirectResult
パラメーター
- localUrl
- String
リダイレクト先のローカル URL。
戻り値
応答用に作成された LocalRedirectResult 。