PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace / Logging­Execution­Context­Data Class / Logging­Execution­Context­Data Properties / Logging­Execution­Context­Data.​Transaction Property

LoggingExecutionContextData.Transaction Property

Gets the transaction that's currently active.

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public LoggingTransaction Transaction { get; }

Property Value

Type: LoggingTransaction
See Also