Condividi tramite


RewriteOptionsExtensions.AddRedirectToWwwPermanent Metodo

Definizione

Overload

AddRedirectToWwwPermanent(RewriteOptions, String[])

Reindirizza in modo permanente la richiesta al sottodominio www se la richiesta non è www.

AddRedirectToWwwPermanent(RewriteOptions)

Reindirizza in modo permanente la richiesta al sottodominio www se la richiesta non è www.

AddRedirectToWwwPermanent(RewriteOptions, String[])

Origine:
RewriteOptionsExtensions.cs

Reindirizza in modo permanente la richiesta al sottodominio www se la richiesta non è 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

Parametri

options
RewriteOptions

Oggetto RewriteOptions.

domains
String[]

Limitare la regola da applicare solo ai domini specificati.

Restituisce

Si applica a

AddRedirectToWwwPermanent(RewriteOptions)

Origine:
RewriteOptionsExtensions.cs
Origine:
RewriteOptionsExtensions.cs
Origine:
RewriteOptionsExtensions.cs

Reindirizza in modo permanente la richiesta al sottodominio www se la richiesta non è 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

Parametri

options
RewriteOptions

Oggetto RewriteOptions.

Restituisce

Si applica a