Method BeginTransaction
BeginTransaction()
Starts a transaction on the geodatabase.
Declaration
public void BeginTransaction()
Remarks
This method starts a new transaction on the geodatabase. The transaction fails to begin if another transaction is already active. A geodatabase cannot be synchronized while a transaction is active.
Transactions can be started and stopped on any thread. Any edits that take place after a call to BeginTransaction() but before a call to either CommitTransaction() or RollbackTransaction() will be considered part of that transaction, no matter what thread made the edit.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.2.1 - 200.6 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 200.6 |
Relevant samples
Geodatabase transactions: Use transactions to manage how changes are committed to a geodatabase.