PageModel.RedirectPreserveMethod(String) PageModel.RedirectPreserveMethod(String) PageModel.RedirectPreserveMethod(String) Method

Definition

Creates a RedirectResult object with Permanent set to false and PreserveMethod set to true (Status307TemporaryRedirect) using the specified url.

public virtual Microsoft.AspNetCore.Mvc.RedirectResult RedirectPreserveMethod (string url);
abstract member RedirectPreserveMethod : string -> Microsoft.AspNetCore.Mvc.RedirectResult
override this.RedirectPreserveMethod : string -> Microsoft.AspNetCore.Mvc.RedirectResult
Public Overridable Function RedirectPreserveMethod (url As String) As RedirectResult

Parameters

url
String String String

The URL to redirect to.

Returns

Applies to