MetadataStore::BeginTransaction Method
When overridden in a derived class, starts an explicit transaction on the metadata store that has the specified isolation level.
Assembly: Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | A metadata store has not been opened or created, or a transaction was already started. |
Changes that are saved after this method is called are not committed to the store until CommitTransaction is called.
An explicit transaction must be started before any changes can be written to the metadata store.
Show: