PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Correlation Namespace / Incoming­Request­Options Structure / Incoming­Request­Options Constructor

IncomingRequestOptions Constructor

Initializes a new IncomingRequestOptions.

Namespace:  PostSharp.Patterns.Diagnostics.Correlation
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.10.10.0 (6.10.10.0)
Syntax
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).
See Also