ApplicationPoolPeriodicRestart 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定控制应用程序池回收的条件。
public ref class ApplicationPoolPeriodicRestart sealed : Microsoft::Web::Administration::ConfigurationElement
public sealed class ApplicationPoolPeriodicRestart : Microsoft.Web.Administration.ConfigurationElement
type ApplicationPoolPeriodicRestart = class
inherit ConfigurationElement
Public NotInheritable Class ApplicationPoolPeriodicRestart
Inherits ConfigurationElement
- 继承
注解
此类表示 IIS 配置系统中的应用程序池回收设置。 这些属性直接对应于 applicationPoolDefaults 元素的回收元素的 periodicRestart 元素的属性和子元素。
属性
Attributes |
获取包含此元素的属性列表的配置属性集合。 (继承自 ConfigurationElement) |
ChildElements |
获取当前元素的所有子元素。 (继承自 ConfigurationElement) |
ElementTagName |
指定控制应用程序池回收的条件。 (继承自 ConfigurationElement) |
IsLocallyStored |
获取一个值,该值指示配置元素是否存储在特定的配置文件中。 (继承自 ConfigurationElement) |
Item[String] |
获取或设置具有指定名称的属性。 (继承自 ConfigurationElement) |
Memory |
获取或设置工作进程在回收工作进程之前可以使用的虚拟内存量。 |
Methods |
获取配置元素的方法集合。 (继承自 ConfigurationElement) |
PrivateMemory |
获取或设置工作进程在回收工作进程之前可以使用的专用内存量。 |
RawAttributes |
指定控制应用程序池回收的条件。 (继承自 ConfigurationElement) |
Requests |
获取或设置工作进程在回收之前应处理的请求数。 |
Schedule |
获取应用程序池的定期重启计划。 |
Schema |
获取当前元素的架构。 (继承自 ConfigurationElement) |
Time |
获取或设置在回收工作进程之前应经过的时间段。 |
方法
Delete() |
指定控制应用程序池回收的条件。 (继承自 ConfigurationElement) |
GetAttribute(String) |
返回一个 ConfigurationAttribute 对象,该对象表示请求的属性。 (继承自 ConfigurationElement) |
GetAttributeValue(String) |
返回指定特性的值。 (继承自 ConfigurationElement) |
GetChildElement(String) |
返回当前配置元素下且具有指定名称的子元素。 (继承自 ConfigurationElement) |
GetChildElement(String, Type) |
返回一个子元素,该子元素位于当前配置元素下,具有指定的名称和类型。 (继承自 ConfigurationElement) |
GetCollection() |
返回当前配置元素的默认集合。 (继承自 ConfigurationElement) |
GetCollection(String) |
返回属于当前配置元素的所有配置元素。 (继承自 ConfigurationElement) |
GetCollection(String, Type) |
返回具有指定名称和类型的配置元素,并且位于当前配置元素下。 (继承自 ConfigurationElement) |
GetCollection(Type) |
返回具有指定类型且位于当前配置元素下的配置元素。 (继承自 ConfigurationElement) |
GetMetadata(String) |
从元素架构返回元数据值。 (继承自 ConfigurationElement) |
SetAttributeValue(String, Object) |
设置所指定特性的值。 (继承自 ConfigurationElement) |
SetMetadata(String, Object) |
设置元素架构中的元数据值。 (继承自 ConfigurationElement) |