SocketsHttpHandler.ActivityHeadersPropagator Property
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.