ServiceHostingEnvironmentSection.AspNetCompatibilityEnabled プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
現在のアプリケーション ASP.NET 互換モードが有効になっているかどうかを示すブール値を取得または設定します。
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
プロパティ値
現在のアプリケーション<互換性モード ASP.NET 有効になっている場合は />、それ以外の場合は false です。
- 属性
注釈
このプロパティを true に設定すると、Windows Communication Foundation (WCF) サービスへの要求は、ASP.NET HTTP パイプラインを通過し、非 HTTP プロトコル経由の通信は禁止されます。