Langue

CachingBotDataStore Classe

Définition

Les caches changent jusqu’à ce que FlushAsync() s’appelle NOTE : Malgré le nom, ce n’est PAS un cache d’accès du magasin interne, mais un cache de modifications qui sera envoyé vers le magasin interne.

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)
Héritage
CachingBotDataStore
Implémente

Constructeurs

Nom Description
CachingBotDataStore(IBotDataStore<BotData>, CachingBotDataStoreConsistencyPolicy)

Les caches changent jusqu’à ce que FlushAsync() s’appelle NOTE : Malgré le nom, ce n’est PAS un cache d’accès du magasin interne, mais un cache de modifications qui sera envoyé vers le magasin interne.

Implémentations d’interfaces explicites

Nom Description
IBotDataStore<BotData>.FlushAsync(IAddress, CancellationToken)

Les caches changent jusqu’à ce que FlushAsync() s’appelle NOTE : Malgré le nom, ce n’est PAS un cache d’accès du magasin interne, mais un cache de modifications qui sera envoyé vers le magasin interne.

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

Les caches changent jusqu’à ce que FlushAsync() s’appelle NOTE : Malgré le nom, ce n’est PAS un cache d’accès du magasin interne, mais un cache de modifications qui sera envoyé vers le magasin interne.

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

Les caches changent jusqu’à ce que FlushAsync() s’appelle NOTE : Malgré le nom, ce n’est PAS un cache d’accès du magasin interne, mais un cache de modifications qui sera envoyé vers le magasin interne.

S’applique à