IncomingRequestOptions Constructor |
Initializes a new IncomingRequestOptions.
Namespace: PostSharp.Patterns.Diagnostics.Correlation
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public IncomingRequestOptions( bool isParentSampled )
Parameters
- isParentSampled
- Type: System.Boolean
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).