ActivityContext.IsRemote Property

Definition

Indicates if the activity context was propagated from a remote parent.

public bool IsRemote { get; }

Property Value

true if it was propagated from a remote parent; false otherwise.

Remarks

IsRemote is not a part of W3C specification. It is needed for the OpenTelemetry scenarios.

Applies to

Product Versions
.NET 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)