DeploymentSection クラス
アセンブリ: System.Web (system.web.dll 内)
構文
DeploymentSection を使用すると、retail モードに基づいてサイトを配置できます。Retail が true の場合、ASP.NET では、トレース出力機能、カスタム エラー機能、デバッグ機能などの一部の設定を無効にします。ここで説明する内容は、マシン レベルおよびアプリケーション レベルの構成ファイルのみを対象にしています。
次の構成ファイルの例では、DeploymentSection クラスの複数のプロパティに対して、宣言によって値を指定する方法を示しています。
<system.web> <deployment retail="false" /> </system.web>
System.Configuration.ConfigurationElement
System.Configuration.ConfigurationSection
System.Web.Configuration.DeploymentSection
プラットフォーム
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
- DeploymentSection クラスのページへのリンク