RedisCache Class
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.
public ref class RedisCache : IDisposable, Microsoft::Extensions::Caching::Distributed::IBufferDistributedCache
public class RedisCache : IDisposable, Microsoft.Extensions.Caching.Distributed.IBufferDistributedCache
type RedisCache = class
interface IBufferDistributedCache
interface IDistributedCache
interface IDisposable
Public Class RedisCache
Implements IBufferDistributedCache, IDisposable
- Inheritance
-
RedisCache
- Implements
Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get(String) |
Gets a value with the given key. |
Get |
Gets a value with the given key. |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Refresh(String) |
Refreshes a value in the cache based on its key, resetting its sliding expiration timeout (if any). |
Refresh |
Refreshes a value in the cache based on its key, resetting its sliding expiration timeout (if any). |
Remove(String) |
Removes the value with the given key. |
Remove |
Removes the value with the given key. |
Set(String, Byte[], Distributed |
Sets a value with the given key. |
Set |
Sets the value with the given key. |
To |
Returns a string that represents the current object. (Inherited from Object) |
Get |
Gets a string from the specified cache with the specified key. |
Get |
Asynchronously gets a string from the specified cache with the specified key. |
Set(IDistributed |
Sets a sequence of bytes in the specified cache with the specified key. |
Set |
Asynchronously sets a sequence of bytes in the specified cache with the specified key. |
Set |
Sets a string in the specified cache with the specified key. |
Set |
Sets a string in the specified cache with the specified key. |
Set |
Asynchronously sets a string in the specified cache with the specified key. |
Set |
Asynchronously sets a string in the specified cache with the specified key. |
Termék | Verziók |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET Standard | 2.0 (package-provided) |
.NET-visszajelzés
A(z) .NET egy nyílt forráskód projekt. Visszajelzés adásához válasszon egy hivatkozást: