Open sandboxFocus

Constructor IncomingRequestOptions

IncomingRequestOptions(bool)

Initializes a new instance of the IncomingRequestOptions struct.

Declaration
public IncomingRequestOptions(bool isParentSampled)
Parameters
Type Name Description
bool 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).