SocketsHttpHandler.ActivityHeadersPropagator Property
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
The default is Current.
- Attributes
An operation has already been started on the current instance.
The current instance has been disposed.
Продукт | Версии |
---|---|
.NET | 6, 7, 8, 9, 10 |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: