DistributedSession Class

Definition

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

Constructors

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

Properties

Id
IsAvailable
Keys

Methods

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

Extension Methods

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

Applies to