ServiceHostingEnvironment.AspNetCompatibilityEnabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether this service is running in the context of the ASP.NET HTTP application pipeline.
public:
static property bool AspNetCompatibilityEnabled { bool get(); };
public static bool AspNetCompatibilityEnabled { get; }
static member AspNetCompatibilityEnabled : bool
Public Shared ReadOnly Property AspNetCompatibilityEnabled As Boolean
Property Value
true
if ASP.NET compatibility is enabled for the current AppDomain; otherwise, false
. The default is false
.
Remarks
This value reflects the value set by the AspNetCompatibilityEnabled configuration element.
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.