Compartir a través de


RewriteOptionsExtensions.AddRedirectToWww Método

Definición

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

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

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

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

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.

Devoluciones

Se aplica a