Taal

IBotDataStore<T> Interface

Definitie

public interface IBotDataStore<T>
type IBotDataStore<'T> = interface
Public Interface IBotDataStore(Of T)

Type parameters

T
Afgeleid

Methoden

Name Description
FlushAsync(IAddress, CancellationToken)
LoadAsync(IAddress, BotStoreType, CancellationToken)

Stuur BotData terug met Data die naar een JObject wijst of een leeg BotData()-record met ETag:""

SaveAsync(IAddress, BotStoreType, T, CancellationToken)

Sla een BotData op met de ETag. Etag-consistentiecontroles Als ETag nul of leeg is, wordt de waarde ingesteld als niemand deze nog heeft ingesteld Als ETag "*" is, zal de waarde onvoorwaardelijk worden ingesteld Als ETag overeenkomt, zal de waarde worden bijgewerkt als deze ongewijzigd blijft. Als Data null is, verwijdert dit record, anders slaat het het op

Van toepassing op