ApplicationPool.QueueLength 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置在拒绝请求之前在应用程序池中排队的最大请求数。
public:
property long QueueLength { long get(); void set(long value); };
public long QueueLength { get; set; }
member this.QueueLength : int64 with get, set
Public Property QueueLength As Long
属性值
在拒绝其他请求之前要排队的最大请求数。
注解
当达到队列中请求的最大数目时,服务将返回一条服务中断消息 (503:服务不可用) 当前应用程序池的任何其他请求。
可以使用此属性配置当前应用程序池的请求队列。 若要为服务器上的所有应用程序池设置默认值,请使用 ApplicationPoolDefaults 对象。