通过


HttpContext.Cache 属性

定义

Cache获取当前应用程序域的对象。

public:
 property System::Web::Caching::Cache ^ Cache { System::Web::Caching::Cache ^ get(); };
public System.Web.Caching.Cache Cache { get; }
member this.Cache : System.Web.Caching.Cache
Public ReadOnly Property Cache As Cache

属性值

Cache当前应用程序域。

注解

每个应用程序域都有一个类实例 Cache 。 因此, Cache 属性返回 Cache 的对象是 Cache 应用程序域中所有请求的对象。

适用于