PageModel.RedirectPermanentPreserveMethod(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a RedirectResult object with Permanent set to true
and PreserveMethod set to true (Status308PermanentRedirect)
using the specified url
.
public:
virtual Microsoft::AspNetCore::Mvc::RedirectResult ^ RedirectPermanentPreserveMethod(System::String ^ url);
public virtual Microsoft.AspNetCore.Mvc.RedirectResult RedirectPermanentPreserveMethod (string url);
abstract member RedirectPermanentPreserveMethod : string -> Microsoft.AspNetCore.Mvc.RedirectResult
override this.RedirectPermanentPreserveMethod : string -> Microsoft.AspNetCore.Mvc.RedirectResult
Public Overridable Function RedirectPermanentPreserveMethod (url As String) As RedirectResult
Parameters
- url
- String
The URL to redirect to.
Returns
The created RedirectResult for the response.