PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace / Logging­Context Class / Logging­Context Properties / Logging­Context.​Parent­Context Property

LoggingContext.ParentContext Property

Note: This API is now obsolete.

Gets the LoggingContext in which the current context was activated. Previously, this was the logical parent instead.

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: (
[ObsoleteAttribute("This property is now equal to ActivationContext.")]
public LoggingContext ParentContext { get; protected set; }

Property Value

Type: LoggingContext
See Also