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

LoggingTransaction.CriticalCount Property

Gets the number of critical errors in the transaction. 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 CriticalCount { get; }

Property Value

Type: Int32
See Also