<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="6.0.0-preview.1.21102.12" />

ActivityTraceFlags

public enum ActivityTraceFlags
Specifies flags defined by the W3C standard that are associated with an activity.
None = 0

The activity has not been marked.

The activity (or more likely its parents) has been marked as useful to record.