HttpContextBase.Cache 属性

定义

在派生类中重写时,获取当前应用程序域的 Cache 对象。When overridden in a derived class, gets the Cache object for the current application domain.

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

属性值

Cache

当前应用程序域的缓存。The cache for the current application domain.

例外

始终。Always.

适用于