Partilhar via


DistributedSessionStore(IDistributedCache, ILoggerFactory) Construtor

Definição

Inicializa uma nova instância 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)

Parâmetros

cache
IDistributedCache

O IDistributedCache usado para armazenar os dados da sessão.

loggerFactory
ILoggerFactory

O ILoggerFactory.

Aplica-se a