CacheSection.PrivateBytesLimit 属性

定义

获取或设置一个值,该值指示工作进程专用空间的最大大小。

public:
 property long PrivateBytesLimit { long get(); void set(long value); };
[System.Configuration.ConfigurationProperty("privateBytesLimit", DefaultValue=0)]
[System.Configuration.LongValidator(MinValue=0)]
public long PrivateBytesLimit { get; set; }
[<System.Configuration.ConfigurationProperty("privateBytesLimit", DefaultValue=0)>]
[<System.Configuration.LongValidator(MinValue=0)>]
member this.PrivateBytesLimit : int64 with get, set
Public Property PrivateBytesLimit As Long

属性值

分配给工作进程的专用空间的最大数目(以字节为单位)。 默认值为 0。

属性

示例

// Increase the PrivateBytesLimit property to 0.
cacheSection.PrivateBytesLimit = 
    cacheSection.PrivateBytesLimit + 10;
' Increase the PrivateBytesLimit property to 0.
cacheSection.PrivateBytesLimit = cacheSection.PrivateBytesLimit + 10

注解

PrivateBytesLimit 属性指定高压条件的阈值。 随着此阈值的临近,缓存系统逐渐开始更积极的清理措施。

适用于

另请参阅