PostSharp6.7//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: 6.7.12.0 (6.7.12.0)
Syntax
C#
[ObsoleteAttribute("This property is now equal to ActivationContext.")]
public LoggingContext ParentContext { get; protected set; }

Property Value

Type: LoggingContext
See Also