PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Transactions.​Model Namespace / Open­Transaction­Expression­Model(T) Structure / Open­Transaction­Expression­Model(T) Properties / Open­Transaction­Expression­Model(T).​Is­Parent­Sampled Property

OpenTransactionExpressionModel<T>.IsParentSampled Property

Determines whether the parent request was logged as a result of sampling, i.e. it was logged by a policy that had a sampling clause. It corresponds to the sampled flag of the W3C Trace Context specification (

Namespace:  PostSharp.Patterns.Diagnostics.Transactions.Model
Assembly:  PostSharp.Patterns.Diagnostics.Configuration (in PostSharp.Patterns.Diagnostics.Configuration.dll) Version: 2023.0.3.0 (2023.0.3.0)
public bool IsParentSampled { get; }

Property Value

Type: Boolean
See Also