PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​ContextsLogging­ContextSynthetic­Root­Id
Open sandboxFocus

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.

public virtual string SyntheticRootId { get; }
Property Value
Type Description