Share via


PageBase.LocalRedirectPermanentPreserveMethod(String) Méthode

Définition

Crée un LocalRedirectResult objet avec Permanent la valeur true et PreserveMethod la valeur true (Status308PermanentRedirect) à l’aide du spécifié 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

Paramètres

localUrl
String

URL locale vers laquelle rediriger.

Retours

créé LocalRedirectResult pour la réponse.

S’applique à