PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Open­Activity­Options Structure / Open­Activity­Options Properties / Open­Activity­Options.​Is­Synthetic­Root­Id Property

OpenActivityOptions.IsSyntheticRootId Property

When the property value is true, the resulting activity will be assigned a global id, irrespective of the id generation strategy. This means that the resulting SyntheticId will be rooted by the current activity. When this property is false, the SyntheticId will may start with the id of the parent context.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
public bool IsSyntheticRootId {
 set; }

Property Value

Type: Boolean
See Also