Show / Hide Table of Contents

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
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.2.1 - 200.7
Xamarin.Android100.2.1 - 100.15
Xamarin.iOS100.2.1 - 100.15
UWP100.2.1 - 200.7
Relevant samples
Geodatabase transactions: Use transactions to manage how changes are committed to a geodatabase.
In This Article
Back to top Copyright © 2022 Esri.