ControllerBase.RedirectToPagePermanent Methode

Definition

Überlädt

RedirectToPagePermanent(String, String, Object, String)

Leitet ( Status301MovedPermanently ) mithilfe der angegebenen und an pageName den angegebenen routeValues fragment um.

RedirectToPagePermanent(String, String, String)

Leitet ( Status301MovedPermanently ) pageName mithilfe des angegebenen an den angegebenen fragment um.

RedirectToPagePermanent(String, Object)

Leitet ( Status301MovedPermanently ) pageName mithilfe des angegebenen an den angegebenen routeValues um.

RedirectToPagePermanent(String)

Leitet ( Status301MovedPermanently ) an den angegebenen pageName um.

RedirectToPagePermanent(String, String)

Leitet ( Status301MovedPermanently ) pageName mithilfe des angegebenen an den angegebenen pageHandler um.

RedirectToPagePermanent(String, String, Object, String)

Leitet ( Status301MovedPermanently ) mithilfe der angegebenen und an pageName den angegebenen routeValues fragment um.

public:
 virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPagePermanent(System::String ^ pageName, System::String ^ pageHandler, System::Object ^ routeValues, System::String ^ fragment);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPagePermanent (string pageName, string pageHandler, object routeValues, string fragment);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPagePermanent (string pageName, string? pageHandler, object? routeValues, string? fragment);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member RedirectToPagePermanent : string * string * obj * string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
override this.RedirectToPagePermanent : string * string * obj * string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Overridable Function RedirectToPagePermanent (pageName As String, pageHandler As String, routeValues As Object, fragment As String) As RedirectToPageResult

Parameter

pageName
String

Der Name der Seite.

pageHandler
String

Der Seitenhandler, an den umgeleitet werden soll.

routeValues
Object

Die Parameter für eine Route.

fragment
String

Das Fragment, das der URL hinzugefügt werden soll.

Gibt zurück

RedirectToPageResult

Der RedirectToPageResult mit Permanent festgelegter .

Attribute

Gilt für

RedirectToPagePermanent(String, String, String)

Leitet ( Status301MovedPermanently ) pageName mithilfe des angegebenen an den angegebenen fragment um.

public:
 virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPagePermanent(System::String ^ pageName, System::String ^ pageHandler, System::String ^ fragment);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPagePermanent (string pageName, string pageHandler, string fragment);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPagePermanent (string pageName, string? pageHandler, string? fragment);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member RedirectToPagePermanent : string * string * string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
override this.RedirectToPagePermanent : string * string * string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Overridable Function RedirectToPagePermanent (pageName As String, pageHandler As String, fragment As String) As RedirectToPageResult

Parameter

pageName
String

Der Name der Seite.

pageHandler
String

Der Seitenhandler, an den umgeleitet werden soll.

fragment
String

Das Fragment, das der URL hinzugefügt werden soll.

Gibt zurück

RedirectToPageResult

Der RedirectToPageResult mit Permanent festgelegter .

Attribute

Gilt für

RedirectToPagePermanent(String, Object)

Leitet ( Status301MovedPermanently ) pageName mithilfe des angegebenen an den angegebenen routeValues um.

public:
 virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPagePermanent(System::String ^ pageName, System::Object ^ routeValues);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPagePermanent (string pageName, object routeValues);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPagePermanent (string pageName, object? routeValues);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member RedirectToPagePermanent : string * obj -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
override this.RedirectToPagePermanent : string * obj -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Overridable Function RedirectToPagePermanent (pageName As String, routeValues As Object) As RedirectToPageResult

Parameter

pageName
String

Der Name der Seite.

routeValues
Object

Die Parameter für eine Route.

Gibt zurück

RedirectToPageResult

Der RedirectToPageResult mit Permanent festgelegter .

Attribute

Gilt für

RedirectToPagePermanent(String)

Leitet ( Status301MovedPermanently ) an den angegebenen pageName um.

public:
 virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPagePermanent(System::String ^ pageName);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPagePermanent (string pageName);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member RedirectToPagePermanent : string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
override this.RedirectToPagePermanent : string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Overridable Function RedirectToPagePermanent (pageName As String) As RedirectToPageResult

Parameter

pageName
String

Der Name der Seite.

Gibt zurück

RedirectToPageResult

Der RedirectToPageResult mit Permanent festgelegter .

Attribute

Gilt für

RedirectToPagePermanent(String, String)

Leitet ( Status301MovedPermanently ) pageName mithilfe des angegebenen an den angegebenen pageHandler um.

public:
 virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPagePermanent(System::String ^ pageName, System::String ^ pageHandler);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPagePermanent (string pageName, string pageHandler);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPagePermanent (string pageName, string? pageHandler);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member RedirectToPagePermanent : string * string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
override this.RedirectToPagePermanent : string * string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Overridable Function RedirectToPagePermanent (pageName As String, pageHandler As String) As RedirectToPageResult

Parameter

pageName
String

Der Name der Seite.

pageHandler
String

Der Seitenhandler, an den umgeleitet werden soll.

Gibt zurück

RedirectToPageResult

Der RedirectToPageResult mit Permanent festgelegter .

Attribute

Gilt für