Language

ActivitySourceScopes Enum

Definition

Represents scopes used by TracingRule to distinguish between activity sources created directly via ActivitySource constructors (Global) and those created via dependency injection with Create(ActivitySourceOptions) (Local).

This enumeration supports a bitwise combination of its member values.

public enum class ActivitySourceScopes
[System.Flags]
public enum ActivitySourceScopes
[<System.Flags>]
type ActivitySourceScopes = 
Public Enum ActivitySourceScopes
Inheritance
ActivitySourceScopes
Attributes

Fields

Name Value Description
None 0

No scope is specified. This field should not be used.

Global 1

Indicates ActivitySource instances created via constructors.

Local 2

Indicates ActivitySource instances created via ActivitySourceFactory.

Applies to