ServiceHostingEnvironmentSection.AspNetCompatibilityEnabled Eigenschap
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Hiermee wordt een Booleaanse waarde opgehaald of ingesteld die aangeeft of ASP.NET compatibiliteitsmodus is ingeschakeld voor de huidige toepassing.
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
Waarde van eigenschap
true als ASP.NET compatibiliteitsmodus is ingeschakeld voor de huidige toepassing; anders false. De standaardwaarde is false.
- Kenmerken
Opmerkingen
Wanneer deze eigenschap is ingesteld op true, stromen aanvragen voor Windows Communication Foundation (WCF)-services via de ASP.NET HTTP-pijplijn en communicatie via niet-HTTP-protocollen.