Partager via


DistributedSessionStore(IDistributedCache, ILoggerFactory) Constructeur

Définition

Initialise une nouvelle instance de DistributedSessionStore.

public:
 DistributedSessionStore(Microsoft::Extensions::Caching::Distributed::IDistributedCache ^ cache, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public DistributedSessionStore (Microsoft.Extensions.Caching.Distributed.IDistributedCache cache, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Session.DistributedSessionStore : Microsoft.Extensions.Caching.Distributed.IDistributedCache * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Session.DistributedSessionStore
Public Sub New (cache As IDistributedCache, loggerFactory As ILoggerFactory)

Paramètres

cache
IDistributedCache

IDistributedCache utilisé pour stocker les données de session.

loggerFactory
ILoggerFactory

L’ILoggerFactoryopérateur

S’applique à