ServiceHostingEnvironmentSection.AspNetCompatibilityEnabled Eigenschaft

Definition

Dient zum Abrufen oder Festlegen eines booleschen Werts, der angibt, ob ASP.NET Kompatibilitätsmodus für die aktuelle Anwendung aktiviert wurde.

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 ASP.NET Kompatibilitätsmodus für die aktuelle Anwendung aktiviert wurde; andernfalls false. Der Standardwert lautet false.

Attribute

Hinweise

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

Gilt für: