PageBase.LocalRedirectPermanentPreserveMethod(String) Método

Definición

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

public:
 virtual Microsoft::AspNetCore::Mvc::LocalRedirectResult ^ LocalRedirectPermanentPreserveMethod(System::String ^ localUrl);
public virtual Microsoft.AspNetCore.Mvc.LocalRedirectResult LocalRedirectPermanentPreserveMethod (string localUrl);
abstract member LocalRedirectPermanentPreserveMethod : string -> Microsoft.AspNetCore.Mvc.LocalRedirectResult
override this.LocalRedirectPermanentPreserveMethod : string -> Microsoft.AspNetCore.Mvc.LocalRedirectResult
Public Overridable Function LocalRedirectPermanentPreserveMethod (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