Freigeben über


DistributedSessionStore(IDistributedCache, ILoggerFactory) Konstruktor

Definition

Initialisiert eine neue Instanz von 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)

Parameter

cache
IDistributedCache

Der IDistributedCache , der zum Speichern der Sitzungsdaten verwendet wird.

loggerFactory
ILoggerFactory

Die ILoggerFactory.

Gilt für: