Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 489 Bytes

CommitTransactionOutsideTryCatch.md

File metadata and controls

10 lines (6 loc) · 489 Bytes

Violating transaction rules for the 'CommitTransaction' method (CommitTransactionOutsideTryCatch)

Description

The CommitTransaction method should be the last one in the Try block, just before the Exception operator, to ensure that there is no exception after the CommitTransaction.

Sources