ServiceHostingEnvironmentSection.AspNetCompatibilityEnabled Propriété

Définition

Obtient ou définit une valeur booléenne qui spécifie si le mode de compatibilité ASP.NET a été activé pour l'application actuelle.

public:
 property bool AspNetCompatibilityEnabled { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("aspNetCompatibilityEnabled", DefaultValue=false)]
public bool AspNetCompatibilityEnabled { get; set; }
[<System.Configuration.ConfigurationProperty("aspNetCompatibilityEnabled", DefaultValue=false)>]
member this.AspNetCompatibilityEnabled : bool with get, set
Public Property AspNetCompatibilityEnabled As Boolean

Valeur de propriété

true si le mode de compatibilité ASP.NET a été activé pour l'application actuelle ; sinon false. La valeur par défaut est false.

Attributs

Remarques

Lorsque cette propriété a la truevaleur , les demandes adressées aux services Windows Communication Foundation (WCF) transitent par le pipeline HTTP ASP.NET et la communication via des protocoles non HTTP est interdite.

S’applique à