PostSharp 6.8 / / 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: 6.8.6.0 (6.8.6.0)
Syntax
C#
public int ErrorCount { get; }

Property Value

Type: Int32
See Also