Share via


RequestCachingSection.IsPrivateCache 属性

定义

获取或设置一个布尔值,该值指示本地计算机缓存是否为私有。

public:
 property bool IsPrivateCache { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("isPrivateCache", DefaultValue=true)]
public bool IsPrivateCache { get; set; }
[<System.Configuration.ConfigurationProperty("isPrivateCache", DefaultValue=true)>]
member this.IsPrivateCache : bool with get, set
Public Property IsPrivateCache As Boolean

属性值

如果缓存提供用户隔离,则为 true;否则为 false

属性

注解

在客户端计算机上,此值通常设置为 true 指示一个用户不能使用另一个用户缓存的资源。 对于中间层应用程序,此值通常设置为 false

适用于