DistributedSession DistributedSession DistributedSession Class

Definition

public class DistributedSession : Microsoft.AspNetCore.Http.ISession
type DistributedSession = class
    interface ISession
Public Class DistributedSession
Implements ISession
Inheritance
DistributedSessionDistributedSessionDistributedSession
Implements

Constructors

DistributedSession(IDistributedCache, String, TimeSpan, Func<Boolean>, ILoggerFactory, Boolean) DistributedSession(IDistributedCache, String, TimeSpan, Func<Boolean>, ILoggerFactory, Boolean) DistributedSession(IDistributedCache, String, TimeSpan, Func<Boolean>, ILoggerFactory, Boolean)
DistributedSession(IDistributedCache, String, TimeSpan, TimeSpan, Func<Boolean>, ILoggerFactory, Boolean) DistributedSession(IDistributedCache, String, TimeSpan, TimeSpan, Func<Boolean>, ILoggerFactory, Boolean) DistributedSession(IDistributedCache, String, TimeSpan, TimeSpan, Func<Boolean>, ILoggerFactory, Boolean)

Properties

Id Id Id
IsAvailable IsAvailable IsAvailable
Keys Keys Keys

Methods

Clear() Clear() Clear()
CommitAsync() CommitAsync() CommitAsync()
CommitAsync(CancellationToken) CommitAsync(CancellationToken) CommitAsync(CancellationToken)
LoadAsync() LoadAsync() LoadAsync()
LoadAsync(CancellationToken) LoadAsync(CancellationToken) LoadAsync(CancellationToken)
Remove(String) Remove(String) Remove(String)
Set(String, Byte[]) Set(String, Byte[]) Set(String, Byte[])
TryGetValue(String, Byte[]) TryGetValue(String, Byte[]) TryGetValue(String, Byte[])

Extension Methods

Get(ISession, String) Get(ISession, String) Get(ISession, String)
GetInt32(ISession, String) GetInt32(ISession, String) GetInt32(ISession, String)
GetString(ISession, String) GetString(ISession, String) GetString(ISession, String)
SetInt32(ISession, String, Int32) SetInt32(ISession, String, Int32) SetInt32(ISession, String, Int32)
SetString(ISession, String, String) SetString(ISession, String, String) SetString(ISession, String, String)

Applies to