Sdílet prostřednictvím


DistributedSessionStore(IDistributedCache, ILoggerFactory) Konstruktor

Definice

Inicializuje novou instanci objektu 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)

Parametry

cache
IDistributedCache

Slouží IDistributedCache k ukládání dat relace.

loggerFactory
ILoggerFactory

Hodnota ILoggerFactory

Platí pro