Note: This API is now obsolete.

Creates and initializes an instance of the RedisStorage.

Namespace:  Telerik.Reporting.Cache.StackExchangeRedis
Assembly:  Telerik.Reporting.Cache.StackExchangeRedis (in Telerik.Reporting.Cache.StackExchangeRedis.dll) Version: 12.2.18.1212 (12.2.18.1212)

Syntax

[ObsoleteAttribute("This constructor is now obsolete. Instantiate a ConnectionMultiplexer using a ConfigurationOptions with defaultDatabase set.")]
public RedisStorage(
	ConnectionMultiplexer connection,
	string keysPrefix,
	int databaseNumber
)

Parameters

connection
Type: ConnectionMultiplexer
An object hiding the Redis connection details. Should be reused (static/ shared) for each request.
keysPrefix
Type: SystemString
String prefix that should be applied on each key stored in the Redis database. This allows shared usage of one Redis database.
databaseNumber
Type: SystemInt32
Determines the number of the database that should be used.

Version Information

Obsolete (compiler warning) in 1.0.1

See Also

In this article
Not finding the help you need?