healthMonitoring 規則的 remove 項目 (ASP.NET 設定結構描述)
移除指定規則。
這個項目是 .NET Framework 2.0 版中新增的項目。
<remove name="rule name"/>
屬性和項目
下列章節會說明屬性、子項目和父項目。
屬性
屬性 |
描述 |
---|---|
name |
必要的字串屬性。 指定要移除的規則名稱。 |
子項目
無。
父項目
項目 |
描述 |
---|---|
configuration |
指定 Common Language Runtime 和 .NET Framework 應用程式所使用之每個組態檔中需要的根項目 (Root Element)。 |
system.web |
指定 ASP.NET 組態區段的根項目。 |
healthMonitoring |
設定健康監視的應用程式。 |
rules |
將事件對應至提供者。 |
範例
下列程式碼範例會示範如何移除規則。
<rules>
<remove name="Sample Web Requests"/>
</rules>
項目資訊
組態區段處理常式 |
|
組態成員 |
|
可設定的位置 |
Machine.config 根層次的 Web.config 應用程式層級的 Web.config |
需求 |
Microsoft Internet Information Services (IIS) 5.0、5.1 或 6.0 版 .NET Framework 2.0 版 Microsoft Visual Studio 2005 |
請參閱
工作
How to: Lock ASP.NET Configuration Settings
參考
healthMonitoring 項目 (ASP.NET 設定結構描述)
healthMonitoring 的 rules 項目 (ASP.NET 設定結構描述)
healthMonitoring 規則的 add 項目 (ASP.NET 設定結構描述)
healthMonitoring 規則的 clear 項目 (ASP.NET 設定結構描述)
概念
ASP.NET Health Monitoring Overview
ASP.NET Configuration Overview
ASP.NET Server Controls and Browser Capabilities