ControllerBase.RedirectToPage Methode

Definition

Überlädt

RedirectToPage(String)

Leitet ( Status302Found ) an den angegebenen pageName um.

RedirectToPage(String, Object)

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

RedirectToPage(String, String)

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

RedirectToPage(String, String, Object)

Leitet ( Status302Found ) an den angegebenen pageName um.

RedirectToPage(String, String, String)

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

RedirectToPage(String, String, Object, String)

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

RedirectToPage(String)

Leitet ( Status302Found ) an den angegebenen pageName um.

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

Parameter

pageName
String

Der Name der Seite.

Gibt zurück

RedirectToPageResult

Die RedirectToPageResult.

Attribute

Gilt für

RedirectToPage(String, Object)

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

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

Die RedirectToPageResult.

Attribute

Gilt für

RedirectToPage(String, String)

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

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

Die RedirectToPageResult.

Attribute

Gilt für

RedirectToPage(String, String, Object)

Leitet ( Status302Found ) an den angegebenen pageName um.

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

Gibt zurück

RedirectToPageResult

Die RedirectToPageResult.

Attribute

Gilt für

RedirectToPage(String, String, String)

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

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

Die RedirectToPageResult.

Attribute

Gilt für

RedirectToPage(String, String, Object, String)

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

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

Die RedirectToPageResult.

Attribute

Gilt für