PostSharp 6.8 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Transactions Namespace / Logging­Transaction Class / Logging­Transaction Properties

LoggingTransaction Properties

The LoggingTransaction type exposes the following members.

Properties
  NameDescription
Public propertyCriticalCount
Gets the number of critical errors in the transaction. This may be used by the ITransactionPolicy to decide of the outcome of the transaction.
Public propertyErrorCount
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.
Public propertyExecutionTime
Gets the transaction execution time in milliseconds, up to this moment. This may be used by the ITransactionPolicy to decide of the outcome of the transaction.
Public propertyIsSampled
Determines whether the current transaction was opened based on a sampling policy.
Public propertyPolicy
Gets the policy assigned to the current transaction. Can be null in the case of MultiplexerBackend.
Public propertyProperties
Gets the list of logging properties associated with activity that created the transaction.
Public propertySource
Gets the LoggingTypeSource that opened the transaction.
Public propertyWarningCount
Gets the number of warnings in the transaction. This may be used by the ITransactionPolicy to decide of the outcome of the transaction.
See Also