Share via


CachingBotDataStore Class

Definition

Caches changes until FlushAsync() is called NOTE: Despite the name, this is NOT a cache of access of the inner store, but is a change cache of changes that will be pushed to inner store.

public class CachingBotDataStore : Microsoft.Bot.Builder.Dialogs.Internals.IBotDataStore<Microsoft.Bot.Connector.BotData>
type CachingBotDataStore = class
    interface IBotDataStore<BotData>
Public Class CachingBotDataStore
Implements IBotDataStore(Of BotData)
Inheritance
CachingBotDataStore
Implements

Constructors

CachingBotDataStore(IBotDataStore<BotData>, CachingBotDataStoreConsistencyPolicy)

Explicit Interface Implementations

IBotDataStore<BotData>.FlushAsync(IAddress, CancellationToken)
IBotDataStore<BotData>.LoadAsync(IAddress, BotStoreType, CancellationToken)
IBotDataStore<BotData>.SaveAsync(IAddress, BotStoreType, BotData, CancellationToken)

Applies to