ServiceHostingEnvironment.AspNetCompatibilityEnabled Eigenschaft

Definition

Ruft einen Wert ab, der angibt, ob dieser Dienst im Kontext der ASP.net-http-Anwendungs Pipeline ausgeführt wird.

public:
 static property bool AspNetCompatibilityEnabled { bool get(); };
public static bool AspNetCompatibilityEnabled { get; }
member this.AspNetCompatibilityEnabled : bool
Public Shared ReadOnly Property AspNetCompatibilityEnabled As Boolean

Eigenschaftswert

Boolean

true, wenn ASP.NET-Kompatibilität für die aktuelle Anwendungsdomäne aktiviert ist, andernfalls false. Der Standardwert ist false.

Hinweise

Dieser Wert gibt den Wert an, der vom Konfigurationselement festgelegt wird AspNetCompatibilityEnabled .

Gilt für