CachingBotDataStoreConsistencyPolicy Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The data consistency policy for CachingBotDataStore
public enum CachingBotDataStoreConsistencyPolicy
type CachingBotDataStoreConsistencyPolicy =
Public Enum CachingBotDataStoreConsistencyPolicy
- Inheritance
-
CachingBotDataStoreConsistencyPolicy
Fields
Name | Value | Description |
---|---|---|
LastWriteWins | 0 | Causes CachingBotDataStore to set ETag to "*" when it flushes the data to storage. As a result last write will overwrite the data. |
ETagBasedConsistency | 1 | Causes CachingBotDataStore to write data with the same ETag returned by Microsoft.Bot.Builder.Dialogs.Internals.CachingBotDataStore.inner. As a result FlushAsync(IAddress, CancellationToken) might fail because of ETag inconsistencies. |