Closed joshuadevries closed 3 years ago
I was able to get this working by using ExpirationMode.ImmediateExpiration. So It looks like its just the documentation that is out of date.
Thanks for the reminder to update the docs - they were based on the beta version of the api which was ExpirationMode.ImmediateEviction
, but was changed to ExpirationMode.ImmediateExpiration
as that is more correct.
When I try to use ExpirationMode.ImmediateEviction it does not work. The enum does not contain this option:
The enum:
I am using version 2.1.2.