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

Exceptions

An operation has already been started on the current instance.

The current instance has been disposed.

Applies to

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