Show / Hide Table of Contents

Method RollbackTransaction

RollbackTransaction()

Rollback the edits in the transaction from the geodatabase.

Declaration
public void RollbackTransaction()
Remarks

Discards the edits in the current transaction from the geodatabase. This will also end the transaction. An error will be thrown if a transaction has not been started on the geodatabase. Transactions must be started and stopped on a single thread of execution.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.2
.NET 6.0100.13 - 200.2
.NET 6.0 Windows100.13 - 200.2
.NET 6.0 Android200.0 - 200.2
.NET 6.0 iOS200.0 - 200.2
.NET Framework100.2.1 - 200.2
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.2.1 - 100.15
iOS100.2.1 - 100.15
UWP100.2.1 - 200.2
Relevant samples
Geodatabase transactions: Use transactions to manage how changes are committed to a geodatabase.
In This Article
Back to top Copyright © 2022 Esri.