Open sandboxFocus

Struct IncomingRequestOptions

Logging options sent by the caller in a distributed logging transaction.

Namespace: PostSharp.Patterns.Diagnostics.Correlation
Assembly: PostSharp.Patterns.Common.dll
Syntax
public readonly struct IncomingRequestOptions

Constructors

Name Description
IncomingRequestOptions(bool)

Initializes a new IncomingRequestOptions.

Properties

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