Gets an instance of the CacheStream class.

Namespace: Alachisoft.NCache.Web.Caching
Assembly: 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,
	StreamMode streamMode
)
Visual Basic
Public Overridable Function GetCacheStream ( _
	key As String, _
	streamMode As StreamMode _
) As CacheStream
Visual C++
public:
virtual CacheStream^ GetCacheStream(
	String^ key, 
	StreamMode streamMode
)

Parameters

key
Type: System..::..String
The key used to reference the stream.
streamMode
Type: Alachisoft.NCache.Web.Caching..::..StreamMode
Enumeration to specify the desired mode to open the stream.

Return Value

An instance of CacheStream

See Also