Gets an instance of the CacheStream class.

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#
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

Type: CacheStream
An instance of CacheStream

See Also