RedisCacheOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configuration options for RedisCache.
public ref class RedisCacheOptions : Microsoft::Extensions::Options::IOptions<Microsoft::Extensions::Caching::StackExchangeRedis::RedisCacheOptions ^>
public class RedisCacheOptions : Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Caching.StackExchangeRedis.RedisCacheOptions>
type RedisCacheOptions = class
interface IOptions<RedisCacheOptions>
Public Class RedisCacheOptions
Implements IOptions(Of RedisCacheOptions)
- Inheritance
-
RedisCacheOptions
- Implements
Constructors
| RedisCacheOptions() |
Properties
| Configuration |
The configuration used to connect to Redis. |
| ConfigurationOptions |
The configuration used to connect to Redis. This is preferred over Configuration. |
| ConnectionMultiplexerFactory |
Gets or sets a delegate to create the ConnectionMultiplexer instance. |
| InstanceName |
The Redis instance name. Allows partitioning a single backend cache for use with multiple apps/services. If set, the cache keys are prefixed with this value. |
| ProfilingSession |
The Redis profiling session |
Explicit Interface Implementations
| IOptions<RedisCacheOptions>.Value |
Gets the default configured |