SocketsHttpHandler.ActivityHeadersPropagator 屬性

定義

重要

此 API 不符合 CLS 規範。

取得或設定傳播分散式追蹤和內容時要使用的傳播器。 使用 null 停用傳播。

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

屬性值

預設值為 Current

屬性

適用於