ActivitySourceScopes Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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. |