Edit

Share via


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.

public:
 property System::Diagnostics::DistributedContextPropagator ^ ActivityHeadersPropagator { System::Diagnostics::DistributedContextPropagator ^ get(); void set(System::Diagnostics::DistributedContextPropagator ^ value); };
[System.CLSCompliant(false)]
public System.Diagnostics.DistributedContextPropagator? ActivityHeadersPropagator { get; set; }
[<System.CLSCompliant(false)>]
member this.ActivityHeadersPropagator : System.Diagnostics.DistributedContextPropagator with get, set
Public Property ActivityHeadersPropagator As DistributedContextPropagator

Property Value

The default is Current.

Attributes

Applies to