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

LoggingTransaction.Policy Property

Gets the policy assigned to the current transaction. Can be null in the case of MultiplexerBackend.

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#
public ITransactionPolicy Policy { get; }

Property Value

Type: ITransactionPolicy
See Also