Share via


PlatformDiagnosticActions.GetActiveTraceRuntime Method

Definition

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

public:
 static PlatformDiagnosticTraceRuntimeInfo ^ GetActiveTraceRuntime(PlatformDiagnosticTraceSlotType slotType);
 static PlatformDiagnosticTraceRuntimeInfo GetActiveTraceRuntime(PlatformDiagnosticTraceSlotType const& slotType);
public static PlatformDiagnosticTraceRuntimeInfo GetActiveTraceRuntime(PlatformDiagnosticTraceSlotType slotType);
function getActiveTraceRuntime(slotType)
Public Shared Function GetActiveTraceRuntime (slotType As PlatformDiagnosticTraceSlotType) As PlatformDiagnosticTraceRuntimeInfo

Parameters

slotType
PlatformDiagnosticTraceSlotType

Which slot to query.

Returns

How long the trace in the specified slot has been running.

Applies to