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

LoggingTransaction Constructor

Initializes a new LoggingTransaction.

Namespace:  PostSharp.Patterns.Diagnostics.Transactions
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.8.6.0 (6.8.6.0)
Syntax
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.
See Also