ServiceHostingEnvironmentSection.AspNetCompatibilityEnabled Eigenschaft

Definition

Ruft einen booleschen Wert ab, der angibt, ob der ASP.NET-Kompatibilitätsmodus für die aktuelle Anwendung aktiviert wurde, oder legt diesen fest.

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

Eigenschaftswert

true, wenn der ASP.NET-Kompatibilitätsmodus für die aktuelle Anwendung aktiviert wurde, andernfalls false. Der Standardwert ist false.

Attribute

Hinweise

Wenn diese Eigenschaft auf truefestgelegt ist, werden Anforderungen an WCF-Dienste (Windows Communication Foundation) durch die ASP.NET HTTP-Pipeline übertragen, und die Kommunikation über Nicht-HTTP-Protokolle ist verboten.

Gilt für: