PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace / Sync­Custom­Activity­Logging­Context Class / Sync­Custom­Activity­Logging­Context Properties / Sync­Custom­Activity­Logging­Context.​Synthetic­Root­Id Property

SyncCustomActivityLoggingContext.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: (
public override string SyntheticRootId { get; }

Property Value

Type: String
See Also