Gets an instance of the CacheStream class.
Namespace: Alachisoft.NCache.Web.CachingAssembly: Alachisoft.NCache.Web (in Alachisoft.NCache.Web.dll) Version: 4.1.0.0 (4.1.0.0)
Syntax
C# |
---|
public virtual CacheStream GetCacheStream( string key, string group, string subgroup, StreamMode streamMode, CacheItemPriority priority ) |
Visual Basic |
---|
Public Overridable Function GetCacheStream ( _ key As String, _ group As String, _ subgroup As String, _ streamMode As StreamMode, _ priority As CacheItemPriority _ ) As CacheStream |
Visual C++ |
---|
public: virtual CacheStream^ GetCacheStream( String^ key, String^ group, String^ subgroup, StreamMode streamMode, CacheItemPriority priority ) |
Parameters
- key
- Type: System..::..String
The key used to reference the stream.
- group
- Type: System..::..String
The group whose keys are to be returned.
- subgroup
- Type: System..::..String
- streamMode
- Type: Alachisoft.NCache.Web.Caching..::..StreamMode
Enumeration to specify the desired mode to open the stream.
- priority
- Type: Alachisoft.NCache.Runtime..::..CacheItemPriority
The relative cost of the object, as expressed by the CacheItemPriority enumeration. The cache uses this value when it evicts objects; objects with a lower cost are removed from the cache before objects with a higher cost.