LoggingTransaction Constructor |
Initializes a new LoggingTransaction.
Namespace: PostSharp.Patterns.Diagnostics.Transactions
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
protected LoggingTransaction( LoggingTypeSource source, in TransactionProperties properties, ITransactionPolicy policy )
Parameters
- source
- Type: PostSharp.Patterns.Diagnostics.LoggingTypeSource
The LoggingTypeSource that opened the transaction. - properties
- Type: PostSharp.Patterns.Diagnostics.Transactions.TransactionProperties
Properties, especially of the activity that created the transaction. - policy
- Type: PostSharp.Patterns.Diagnostics.Transactions.ITransactionPolicy
The ITransactionPolicy that has been assigned to this transaction.