HostingEnvironmentSection クラス

アプリケーション ホスティング環境の動作を制御する構成設定を定義します。

構文

class HostingEnvironmentSection : ConfigurationSection  

メソッド

次の表に、HostingEnvironmentSection クラスによって公開されるメソッドの一覧を示します。

名前 説明
GetAllowDefinition (ConfigurationSection から継承。)
GetAllowLocation (ConfigurationSection から継承。)
RevertToParent (ConfigurationSection から継承。)
SetAllowDefinition (ConfigurationSection から継承。)
SetAllowLocation (ConfigurationSection から継承。)

プロパティ

次の表は、HostingEnvironmentSection クラスによって公開されるプロパティの一覧です。

名前 説明
IdleTimeout 非アクティブなアプリケーションがアンロードされるまでに経過することが許可される時間間隔を指定する、オプションの読み取り/書き込みの datetime 値。 既定値は無限です。
Location (ConfigurationSection から継承。)キー プロパティ。
Path (ConfigurationSection から継承。)キー プロパティ。
SectionInformation (ConfigurationSection から継承。)
ShadowCopyBinAssemblies オプションの読み取り/書き込みの boolean 値。 Bin ディレクトリ内のアプリケーションのアセンブリが、アプリケーションの ASP.NET Temporary Files ディレクトリにシャドウ コピーされる場合は true、それ以外の場合は false。 既定値は、true です。
ShutdownTimeout アプリケーションが正常にシャットダウンするのに許可される時間を指定する、オプションの読み取り/書き込みの datetime 値。 既定値は 30 秒です。

サブクラス

このクラスにはサブクラスが含まれていません。

継承階層

ConfigurationSection

HostingEnvironmentSection

要件

説明
クライアント - Windows Vista 上の IIS 7.0
- Windows 7 上の IIS 7.5
- Windows 8 上の IIS 8.0
- Windows 10 上の IIS 10.0
[サーバー] - Windows Server 2008 上の IIS 7.0
- Windows Server 2008 R2 上の IIS 7.5
- Windows Server 2012 上の IIS 8.0
- Windows Server 2012 R2 上の IIS 8.5
- Windows Server 2016 上の IIS 10.0
Product - IIS 7.0、IIS 7.5、IIS 8.0、IIS 8.5、IIS 10.0
MOF ファイル WebAdministration.mof

参照

ConfigurationSection クラス
hostingEnvironment 要素 (ASP.NET 設定スキーマ)
CIM_DATETIME