PostSharp 6.9 / / 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 (https://www.w3.org/TR/trace-context/#sampled-flag).

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

Property Value

Type: Boolean
See Also