PageBase.LocalRedirectPreserveMethod(String) Método

Definición

Crea un LocalRedirectResult objeto con Permanent establecido en false y PreserveMethod se establece en true (Status307TemporaryRedirect) mediante el especificado localUrl.

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

Parámetros

localUrl
String

Dirección URL local a la que se va a redirigir.

Devoluciones

creado LocalRedirectResult para la respuesta.

Se aplica a