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 must be started and stopped on a single thread of execution. This method should only be called once per transaction. Repeatedly calling this method from the same thread will throw an exception.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.2 |
.NET 6.0 | 100.13 - 200.2 |
.NET 6.0 Windows | 100.13 - 200.2 |
.NET 6.0 Android | 200.0 - 200.2 |
.NET 6.0 iOS | 200.0 - 200.2 |
.NET Framework | 100.2.1 - 200.2 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Android | 100.2.1 - 100.15 |
iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 200.2 |
Relevant samples
Geodatabase transactions: Use transactions to manage how changes are committed to a geodatabase.