Represents a top-level application transaction such as a network request.
public class LoggingTransaction : Object
|LoggingTransaction(LoggingTypeSource, in TransactionProperties, ITransactionPolicy)||
Initializes a new LoggingTransaction.
Gets the verbosity configuration the the current transaction.
Gets the number of critical errors in the transaction. This may be used by the ITransactionPolicy to decide of the outcome of the transaction.
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.
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.
Determines whether the current transaction was opened based on a sampling policy.
Gets the policy assigned to the current transaction. Can be null in the case of MultiplexerBackend.
Gets the list of logging properties associated with activity that created the transaction.
Gets the LoggingTypeSource that opened the transaction.
Gets the number of warnings in the transaction. This may be used by the ITransactionPolicy to decide of the outcome of the transaction.
Opens the transaction. The default implementation sets the current LoggingVerbosityConfiguration to the one defined by the policy.