PageModel.LocalRedirectPermanentPreserveMethod(String) Methode

Definition

Erstellt ein LocalRedirectResult -Objekt, das Permanent auf true und PreserveMethod auf true (Status308PermanentRedirect) festgelegt ist, indem der angegebene localUrlverwendet wird.

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

Parameter

localUrl
String

Die lokale URL, an die umgeleitet werden soll.

Gibt zurück

Die für die Antwort erstellte LocalRedirectResult .

Gilt für: