Sprache

InMemoryDataStore Klasse

Definition

Volitile In-Memory-Implementierung von IBotDataStore<T>

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

Hinweise

HINWEIS: Dies verwendet ein internes Wörterbuch ohne Culling, daher sollte es überhaupt nicht für Produktionscode verwendet werden, da es letztlich einfach deinen gesamten Speicher verbraucht.

Konstruktoren

Name Beschreibung
InMemoryDataStore()

Volitile In-Memory-Implementierung von IBotDataStore<T>

Explizite Schnittstellenimplementierungen

Name Beschreibung
IBotDataStore<BotData>.FlushAsync(IAddress, CancellationToken)

Volitile In-Memory-Implementierung von IBotDataStore<T>

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

Volitile In-Memory-Implementierung von IBotDataStore<T>

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

Volitile In-Memory-Implementierung von IBotDataStore<T>

Gilt für: