ServiceHostingEnvironmentSection.AspNetCompatibilityEnabled Eigenschap

Definitie

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.

Van toepassing op