RewriteOptionsExtensions.AddRedirectToWwwPermanent Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
AddRedirectToWwwPermanent(RewriteOptions, String[]) |
Redirige permanentemente la solicitud al subdominio www si la solicitud no es www. |
AddRedirectToWwwPermanent(RewriteOptions) |
Redirige permanentemente la solicitud al subdominio www si la solicitud no es www. |
AddRedirectToWwwPermanent(RewriteOptions, String[])
- Source:
- RewriteOptionsExtensions.cs
Redirige permanentemente la solicitud al subdominio www si la solicitud no es www.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Rewrite::RewriteOptions ^ AddRedirectToWwwPermanent(Microsoft::AspNetCore::Rewrite::RewriteOptions ^ options, ... cli::array <System::String ^> ^ domains);
public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddRedirectToWwwPermanent (this Microsoft.AspNetCore.Rewrite.RewriteOptions options, params string[] domains);
static member AddRedirectToWwwPermanent : Microsoft.AspNetCore.Rewrite.RewriteOptions * string[] -> Microsoft.AspNetCore.Rewrite.RewriteOptions
<Extension()>
Public Function AddRedirectToWwwPermanent (options As RewriteOptions, ParamArray domains As String()) As RewriteOptions
Parámetros
- options
- RewriteOptions
- domains
- String[]
Limite la regla para que solo se aplique en los dominios especificados.
Devoluciones
Se aplica a
AddRedirectToWwwPermanent(RewriteOptions)
- Source:
- RewriteOptionsExtensions.cs
- Source:
- RewriteOptionsExtensions.cs
- Source:
- RewriteOptionsExtensions.cs
Redirige permanentemente la solicitud al subdominio www si la solicitud no es www.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Rewrite::RewriteOptions ^ AddRedirectToWwwPermanent(Microsoft::AspNetCore::Rewrite::RewriteOptions ^ options);
public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddRedirectToWwwPermanent (this Microsoft.AspNetCore.Rewrite.RewriteOptions options);
static member AddRedirectToWwwPermanent : Microsoft.AspNetCore.Rewrite.RewriteOptions -> Microsoft.AspNetCore.Rewrite.RewriteOptions
<Extension()>
Public Function AddRedirectToWwwPermanent (options As RewriteOptions) As RewriteOptions
Parámetros
- options
- RewriteOptions