PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Backends.​Redis Namespace / Redis­Caching­Backend­Configuration Class / Redis­Caching­Backend­Configuration Properties / Redis­Caching­Backend­Configuration.​Transaction­Max­Retries Property

RedisCachingBackendConfiguration.TransactionMaxRetries Property

Gets or sets the number of times Redis transactions are retried when they fail due to a data conflict, before an exception is raised. The default value is 5.

Namespace:  PostSharp.Patterns.Caching.Backends.Redis
Assembly:  PostSharp.Patterns.Caching.Backends.Redis (in PostSharp.Patterns.Caching.Backends.Redis.dll) Version: 2023.0.3.0 (2023.0.3.0)
public int TransactionMaxRetries { get; set; }

Property Value

Type: Int32
See Also