PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Transactions Namespace / Logging­Transaction Class / Logging­Transaction Properties / Logging­Transaction.​Error­Count Property

LoggingTransaction.ErrorCount Property

Gets the number of errors in the transaction including critical errors. This may be used by the ITransactionPolicy to decide of the outcome of the transaction.

Namespace:  PostSharp.Patterns.Diagnostics.Transactions
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 2023.0.3.0 (2023.0.3.0)
public int ErrorCount { get; }

Property Value

Type: Int32
See Also