RewriteOptionsExtensions.AddRedirectToWww 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
AddRedirectToWww(RewriteOptions) |
Redirigir la solicitud al subdominio www si la solicitud entrante no es www. |
AddRedirectToWww(RewriteOptions, Int32) |
Redirigir la solicitud al subdominio www si la solicitud entrante no es www. |
AddRedirectToWww(RewriteOptions, String[]) |
Redirigir la solicitud al subdominio www si la solicitud entrante no es www. |
AddRedirectToWww(RewriteOptions, Int32, String[]) |
Redirigir la solicitud al subdominio www si la solicitud entrante no es www. |
AddRedirectToWww(RewriteOptions)
- Source:
- RewriteOptionsExtensions.cs
- Source:
- RewriteOptionsExtensions.cs
- Source:
- RewriteOptionsExtensions.cs
Redirigir la solicitud al subdominio www si la solicitud entrante no es www.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Rewrite::RewriteOptions ^ AddRedirectToWww(Microsoft::AspNetCore::Rewrite::RewriteOptions ^ options);
public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddRedirectToWww (this Microsoft.AspNetCore.Rewrite.RewriteOptions options);
static member AddRedirectToWww : Microsoft.AspNetCore.Rewrite.RewriteOptions -> Microsoft.AspNetCore.Rewrite.RewriteOptions
<Extension()>
Public Function AddRedirectToWww (options As RewriteOptions) As RewriteOptions
Parámetros
- options
- RewriteOptions
Devoluciones
Se aplica a
AddRedirectToWww(RewriteOptions, Int32)
- Source:
- RewriteOptionsExtensions.cs
- Source:
- RewriteOptionsExtensions.cs
- Source:
- RewriteOptionsExtensions.cs
Redirigir la solicitud al subdominio www si la solicitud entrante no es www.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Rewrite::RewriteOptions ^ AddRedirectToWww(Microsoft::AspNetCore::Rewrite::RewriteOptions ^ options, int statusCode);
public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddRedirectToWww (this Microsoft.AspNetCore.Rewrite.RewriteOptions options, int statusCode);
static member AddRedirectToWww : Microsoft.AspNetCore.Rewrite.RewriteOptions * int -> Microsoft.AspNetCore.Rewrite.RewriteOptions
<Extension()>
Public Function AddRedirectToWww (options As RewriteOptions, statusCode As Integer) As RewriteOptions
Parámetros
- options
- RewriteOptions
- statusCode
- Int32
Código de estado que se va a agregar a la respuesta.
Devoluciones
Se aplica a
AddRedirectToWww(RewriteOptions, String[])
- Source:
- RewriteOptionsExtensions.cs
Redirigir la solicitud al subdominio www si la solicitud entrante no es www.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Rewrite::RewriteOptions ^ AddRedirectToWww(Microsoft::AspNetCore::Rewrite::RewriteOptions ^ options, ... cli::array <System::String ^> ^ domains);
public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddRedirectToWww (this Microsoft.AspNetCore.Rewrite.RewriteOptions options, params string[] domains);
static member AddRedirectToWww : Microsoft.AspNetCore.Rewrite.RewriteOptions * string[] -> Microsoft.AspNetCore.Rewrite.RewriteOptions
<Extension()>
Public Function AddRedirectToWww (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
AddRedirectToWww(RewriteOptions, Int32, String[])
- Source:
- RewriteOptionsExtensions.cs
Redirigir la solicitud al subdominio www si la solicitud entrante no es www.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Rewrite::RewriteOptions ^ AddRedirectToWww(Microsoft::AspNetCore::Rewrite::RewriteOptions ^ options, int statusCode, ... cli::array <System::String ^> ^ domains);
public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddRedirectToWww (this Microsoft.AspNetCore.Rewrite.RewriteOptions options, int statusCode, params string[] domains);
static member AddRedirectToWww : Microsoft.AspNetCore.Rewrite.RewriteOptions * int * string[] -> Microsoft.AspNetCore.Rewrite.RewriteOptions
<Extension()>
Public Function AddRedirectToWww (options As RewriteOptions, statusCode As Integer, ParamArray domains As String()) As RewriteOptions
Parámetros
- options
- RewriteOptions
- statusCode
- Int32
Código de estado que se va a agregar a la respuesta.
- domains
- String[]
Limite la regla para que solo se aplique en los dominios especificados.