SocketsHttpHandler.ActivityHeadersPropagator Property

Definition

Important

This API is not CLS-compliant.

Gets or sets the propagator to use when propagating the distributed trace and context. Use null to disable propagation.

C#
[System.CLSCompliant(false)]
public System.Diagnostics.DistributedContextPropagator? ActivityHeadersPropagator { get; set; }

Property Value

The default is Current.

Attributes

Applies to

Produkt Verzie
.NET 6, 7, 8, 9, 10