Compartir a través de


PageBase.RedirectToPage Método

Definición

Sobrecargas

RedirectToPage()

Redirige (Status302Found) a la página actual.

RedirectToPage(Object)

Redirige (Status302Found) a la página actual con el especificado routeValues.

RedirectToPage(String)

Redirige (Status302Found) al especificado pageName.

RedirectToPage(String, Object)

Redirige (Status302Found) al especificado pageName mediante el especificado routeValues.

RedirectToPage(String, String)

Redirige (Status302Found) al especificado pageName mediante el especificado pageHandler.

RedirectToPage(String, String, String)

Redirige (Status302Found) al especificado pageName mediante el especificado fragment.

RedirectToPage(String, String, Object, String)

Redirige (Status302Found) al especificado pageName mediante el especificado routeValues y fragment.

RedirectToPage()

Source:
PageBase.cs
Source:
PageBase.cs
Source:
PageBase.cs

Redirige (Status302Found) a la página actual.

public:
 virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPage();
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage ();
abstract member RedirectToPage : unit -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
override this.RedirectToPage : unit -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Overridable Function RedirectToPage () As RedirectToPageResult

Devoluciones

RedirectToPageResult.

Se aplica a

RedirectToPage(Object)

Source:
PageBase.cs
Source:
PageBase.cs
Source:
PageBase.cs

Redirige (Status302Found) a la página actual con el especificado routeValues.

public:
 virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPage(System::Object ^ routeValues);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage (object routeValues);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage (object? routeValues);
abstract member RedirectToPage : obj -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
override this.RedirectToPage : obj -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Overridable Function RedirectToPage (routeValues As Object) As RedirectToPageResult

Parámetros

routeValues
Object

Parámetros de una ruta.

Devoluciones

RedirectToPageResult.

Se aplica a

RedirectToPage(String)

Source:
PageBase.cs
Source:
PageBase.cs
Source:
PageBase.cs

Redirige (Status302Found) al especificado pageName.

public:
 virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPage(System::String ^ pageName);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage (string pageName);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage (string? pageName);
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

Parámetros

pageName
String

Nombre de la página.

Devoluciones

RedirectToPageResult.

Se aplica a

RedirectToPage(String, Object)

Source:
PageBase.cs
Source:
PageBase.cs
Source:
PageBase.cs

Redirige (Status302Found) al especificado pageName mediante el especificado routeValues.

public:
 virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPage(System::String ^ pageName, System::Object ^ routeValues);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage (string pageName, object routeValues);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage (string? pageName, object? routeValues);
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

Parámetros

pageName
String

Nombre de la página.

routeValues
Object

Parámetros de una ruta.

Devoluciones

RedirectToPageResult.

Se aplica a

RedirectToPage(String, String)

Source:
PageBase.cs
Source:
PageBase.cs
Source:
PageBase.cs

Redirige (Status302Found) al especificado pageName mediante el especificado pageHandler.

public:
 virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPage(System::String ^ pageName, System::String ^ pageHandler);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage (string pageName, string pageHandler);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage (string? pageName, string? pageHandler);
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

Parámetros

pageName
String

Nombre de la página.

pageHandler
String

Controlador de página al que se va a redirigir.

Devoluciones

RedirectToPageResult.

Se aplica a

RedirectToPage(String, String, String)

Source:
PageBase.cs
Source:
PageBase.cs
Source:
PageBase.cs

Redirige (Status302Found) al especificado pageName mediante el especificado fragment.

public:
 virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPage(System::String ^ pageName, System::String ^ pageHandler, System::String ^ fragment);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage (string pageName, string pageHandler, string fragment);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage (string? pageName, string? pageHandler, string? fragment);
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

Parámetros

pageName
String

Nombre de la página.

pageHandler
String

Controlador de página al que se va a redirigir.

fragment
String

Fragmento que se va a agregar a la dirección URL.

Devoluciones

RedirectToPageResult.

Se aplica a

RedirectToPage(String, String, Object, String)

Source:
PageBase.cs
Source:
PageBase.cs
Source:
PageBase.cs

Redirige (Status302Found) al especificado pageName mediante el especificado routeValues y fragment.

public:
 virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPage(System::String ^ pageName, System::String ^ pageHandler, System::Object ^ routeValues, System::String ^ fragment);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage (string pageName, string pageHandler, object routeValues, string fragment);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage (string? pageName, string? pageHandler, object? routeValues, string? fragment);
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

Parámetros

pageName
String

Nombre de la página.

pageHandler
String

Controlador de página al que se va a redirigir.

routeValues
Object

Parámetros de una ruta.

fragment
String

Fragmento que se va a agregar a la dirección URL.

Devoluciones

RedirectToPageResult.

Se aplica a