ControllerBase.RedirectToRoutePermanent Método

Definição

Sobrecargas

RedirectToRoutePermanent(String, Object, String)

Redireciona (Status301MovedPermanently) para a rota especificada com definido como Permanent true usando os especificados routeName, routeValuese fragment.

RedirectToRoutePermanent(String, String)

Redireciona (Status301MovedPermanently) para a rota especificada com definido como Permanent true usando o especificado routeName e fragment.

RedirectToRoutePermanent(Object)

Redireciona (Status301MovedPermanently) para a rota especificada com definido como Permanent true usando o especificado routeValues.

RedirectToRoutePermanent(String)

Redireciona (Status301MovedPermanently) para a rota especificada com definido como Permanent true usando o especificado routeName.

RedirectToRoutePermanent(String, Object)

Redireciona (Status301MovedPermanently) para a rota especificada com definido como Permanent true usando o especificado routeName e routeValues.

RedirectToRoutePermanent(String, Object, String)

Redireciona (Status301MovedPermanently) para a rota especificada com definido como Permanent true usando os especificados routeName, routeValuese fragment.

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

Parâmetros

routeName
String

O nome da rota.

routeValues
Object

Os parâmetros para uma rota.

fragment
String

O fragmento a ser adicionado à URL.

Retornos

O criado RedirectToRouteResult para a resposta.

Atributos

Aplica-se a

RedirectToRoutePermanent(String, String)

Redireciona (Status301MovedPermanently) para a rota especificada com definido como Permanent true usando o especificado routeName e fragment.

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

Parâmetros

routeName
String

O nome da rota.

fragment
String

O fragmento a ser adicionado à URL.

Retornos

O criado RedirectToRouteResult para a resposta.

Atributos

Aplica-se a

RedirectToRoutePermanent(Object)

Redireciona (Status301MovedPermanently) para a rota especificada com definido como Permanent true usando o especificado routeValues.

public:
 virtual Microsoft::AspNetCore::Mvc::RedirectToRouteResult ^ RedirectToRoutePermanent(System::Object ^ routeValues);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.RedirectToRouteResult RedirectToRoutePermanent (object routeValues);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.RedirectToRouteResult RedirectToRoutePermanent (object? routeValues);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member RedirectToRoutePermanent : obj -> Microsoft.AspNetCore.Mvc.RedirectToRouteResult
override this.RedirectToRoutePermanent : obj -> Microsoft.AspNetCore.Mvc.RedirectToRouteResult
Public Overridable Function RedirectToRoutePermanent (routeValues As Object) As RedirectToRouteResult

Parâmetros

routeValues
Object

Os parâmetros para uma rota.

Retornos

O criado RedirectToRouteResult para a resposta.

Atributos

Aplica-se a

RedirectToRoutePermanent(String)

Redireciona (Status301MovedPermanently) para a rota especificada com definido como Permanent true usando o especificado routeName.

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

Parâmetros

routeName
String

O nome da rota.

Retornos

O criado RedirectToRouteResult para a resposta.

Atributos

Aplica-se a

RedirectToRoutePermanent(String, Object)

Redireciona (Status301MovedPermanently) para a rota especificada com definido como Permanent true usando o especificado routeName e routeValues.

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

Parâmetros

routeName
String

O nome da rota.

routeValues
Object

Os parâmetros para uma rota.

Retornos

O criado RedirectToRouteResult para a resposta.

Atributos

Aplica-se a