PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​CorrelationIncoming­Request­OptionsIncoming­Request­Options
Open sandboxFocus

IncomingRequestOptions Constructor

IncomingRequestOptions(Boolean)

Initializes a new IncomingRequestOptions.

Declaration
public IncomingRequestOptions(bool isParentSampled)
Parameters
Type Name Description
Boolean isParentSampled

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).