Returns the instance clustered cache for this application.
Namespace: Alachisoft.NCache.Web.CachingAssembly: Alachisoft.NCache.Web (in Alachisoft.NCache.Web.dll) Version: 4.1.0.0 (4.1.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); } |
Field Value
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