Share via


PlatformDiagnosticTraceSlotState Enum

Definition

Describes the state of a trace.

public enum class PlatformDiagnosticTraceSlotState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class PlatformDiagnosticTraceSlotState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum PlatformDiagnosticTraceSlotState
var value = Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceSlotState.notRunning
Public Enum PlatformDiagnosticTraceSlotState
Inheritance
PlatformDiagnosticTraceSlotState
Attributes

Windows requirements

Requirements Description
Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Fields

Name Value Description
NotRunning 0

The trace is not currently running.

Running 1

The trace is running.

Throttled 2

The trace is not running because another trace has higher priority, or the device is running on battery power.

Remarks

Important

Only first-party applications should use this type.

Applies to