Returns the instance clustered cache for this application.

Namespace: Alachisoft.NCache.Web.Caching
Assembly: Alachisoft.NCache.Web (in Alachisoft.NCache.Web.dll) Version: 4.3.0.0 (4.3.0.0)

Syntax

C#
[ObsoleteAttribute("This property is deprecated. Please use the cache handle returned by the 'InitializeCache' method instead.", 
	false)]
public static Cache Cache { get; set; }
Visual Basic
<ObsoleteAttribute("This property is deprecated. Please use the cache handle returned by the 'InitializeCache' method instead.", 
	false)> 
Public Shared Property Cache As Cache
	Get
	Set
Visual C++
public:
[ObsoleteAttribute(L"This property is deprecated. Please use the cache handle returned by the 'InitializeCache' method instead.", 
	false)]
static property Cache^ Cache {
	Cache^ get ();
	void set (Cache^ value);
}

Property Value

Type: Cache
The instance of clustered Cache for this Web application.

Remarks

Many instances of this class can be created per application domain, and they remains valid as long as the application domain remains active. First cache instance can be referred to using this property. Once the first cache instance has been disposed, this property can be set to refer to another instance of the cache. Information about an instance of this class is available through the Cache property of the

See Also