Share via


PlatformDiagnosticActions Class

Definition

Manages diagnostic scenarios

public ref class PlatformDiagnosticActions abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PlatformDiagnosticActions final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class PlatformDiagnosticActions
Public Class PlatformDiagnosticActions
Inheritance
Object Platform::Object IInspectable PlatformDiagnosticActions
Attributes

Windows requirements

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

Remarks

Important

Only first-party applications should use this class.

Methods

DownloadLatestSettingsForNamespace(String, String, Boolean, Boolean, Boolean)

Downloads the settings that describes which diagnostic data is collected as part of the specified profile.

ForceUpload(PlatformDiagnosticEventBufferLatencies, Boolean, Boolean)

Cause diagnostic data to be uploaded within the specified parameters.

GetActiveScenarioList()

Get the list of scenarios that have been downloaded to the device.

GetActiveTraceRuntime(PlatformDiagnosticTraceSlotType)

Returns the amount of time that a trace in the specified slot has been running.

GetKnownTraceList(PlatformDiagnosticTraceSlotType)

Get the list of diagnostic traces that are available on the system.

IsScenarioEnabled(Guid)

Whether a scenario profile has been downloaded to the device.

IsTraceRunning(PlatformDiagnosticTraceSlotType, Guid, UInt64)

Whether a trace for the specified scenario is in progress.

TryEscalateScenario(Guid, PlatformDiagnosticEscalationType, String, Boolean, Boolean, IMapView<String,String>)

Try to run a scenario on demand.

Applies to