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

LoggingContext.CurrentTransaction Property

Gets the LoggingTransaction defined or inherited by the current context.

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

Property Value

Type: LoggingTransaction
See Also