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

LoggingTransaction.WarningCount Property

Gets the number of warnings 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: (
public int WarningCount { get; }

Property Value

Type: Int32
See Also