Partager via


PageBase.LocalRedirectPreserveMethod(String) Méthode

Définition

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

Paramètres

localUrl
String

URL locale vers laquelle effectuer la redirection.

Retours

créé LocalRedirectResult pour la réponse.

S’applique à