ActivityContext.IsRemote 屬性

定義

指出活動內容是否已從遠端父代傳播。

public:
 property bool IsRemote { bool get(); };
public bool IsRemote { get; }
member this.IsRemote : bool
Public ReadOnly Property IsRemote As Boolean

屬性值

true 如果它是從遠端父代傳播,則為 ; false 否則。

備註

IsRemote 不是 W3C 規格的一部分。 OpenTelemetry 案例需要它。

適用於