ActivityTrackingOptions Enum

Definition

Flags to indicate which trace context parts should be included with the logging scopes.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum ActivityTrackingOptions
Inheritance
ActivityTrackingOptions
Attributes

Fields

Name Value Description
None 0

None of the trace context part will be included in the logging.

SpanId 1

Span ID will be included in the logging.

TraceId 2

Trace ID will be included in the logging.

ParentId 4

Parent ID will be included in the logging.

TraceState 8

Trace State will be included in the logging.

TraceFlags 16

Trace flags will be included in the logging.

Tags 32

Tags will be included in the logging.

Baggage 64

Items of baggage will be included in the logging.

Applies to

Prodotto Versioni
.NET 8 (package-provided), 9 (package-provided)
.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), 2.1 (package-provided)