PostSharp6.6//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace/Logging­Context Class/Logging­Context Properties/Logging­Context.​Synthetic­Root­Id Property

LoggingContext.SyntheticRootId Property

When this property returns a non-null value, the SyntheticId property shall return the same value as the SyntheticRootId property, instead of starting with the id of the parent context. You can set this property when you open a custom activity by configuring the OpenActivityOptions object.

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.6.10.0 (6.6.10.0)
Syntax
C#
public virtual string SyntheticRootId { get; }

Property Value

Type: String
See Also