PlatformDiagnosticActionState Enum

Definition

Specifies the outcome of a diagnostic trace operation.

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

Windows requirements

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

Fields

ACPowerNotAvailable 2

The operation failed because the device is running on battery power.

FreeNetworkNotAvailable 1

The operation failed because a non-metered network connection is not available.

Success 0

The operation was successful.

Remarks

Important

Only first-party applications should use this type.

Applies to

See also