DistributedContextPropagator.CreatePreW3CPropagator Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a propagator that encodes and decodes distributed context and baggage information in a backward-compatible manner.
public:
static System::Diagnostics::DistributedContextPropagator ^ CreatePreW3CPropagator();
public static System.Diagnostics.DistributedContextPropagator CreatePreW3CPropagator();
static member CreatePreW3CPropagator : unit -> System.Diagnostics.DistributedContextPropagator
Public Shared Function CreatePreW3CPropagator () As DistributedContextPropagator
Returns
Remarks
This propagator is not fully compliant with the W3C specification.
It inserts baggage using the "Correlation-Context" header instead of "baggage".
It also takes a more relaxed approach to handling trace state and baggage key-value pairs, allowing characters that are not permitted by the W3C specification.
Additionally, this propagator supports injecting values from Activity objects that use the ActivityIdFormat.Hierarchical format, which is not supported by the W3C specification.