Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ActivitySamplingResult Enum
Definition
- Namespace:
- System.Diagnostics
- Assembly:
- System.Diagnostics.DiagnosticSource.dll
- Package:
- System.Diagnostics.DiagnosticSource v11.0.0-preview.5.26302.115
- Source:
- ActivitySamplingResult.cs
- Source:
- ActivitySamplingResult.cs
- Source:
- ActivitySamplingResult.cs
- Source:
- ValueStringBuilder.cs
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.
Enumeration values used by ActivityListener to indicate the amount of data to collect for the related Activity. Requesting more data causes a greater performance overhead.
public enum class ActivitySamplingResult
public enum ActivitySamplingResult
type ActivitySamplingResult =
Public Enum ActivitySamplingResult
- Inheritance
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | The activity object does not need to be created. |
| PropagationData | 1 | The activity object needs to be created. It will have a Name, a Source, an Id and Baggage. Other properties are unnecessary and will be ignored by this listener. |
| AllData | 2 | The activity object should be populated with all the propagation information and also all other properties such as Links, Tags, and Events. Using this value causes IsAllDataRequested to return |
| AllDataAndRecorded | 3 | The activity object should be populated the same as the AllData case. Additionally, Activity.Recorded is set to |
Applies to
Feedback
Was this page helpful?
