PlatformDiagnosticActions.IsTraceRunning Method
Definition
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.
Whether a trace for the specified scenario is in progress.
public:
static PlatformDiagnosticTraceSlotState IsTraceRunning(PlatformDiagnosticTraceSlotType slotType, Platform::Guid scenarioId, unsigned long long traceProfileHash);
static PlatformDiagnosticTraceSlotState IsTraceRunning(PlatformDiagnosticTraceSlotType const& slotType, winrt::guid const& scenarioId, uint64_t const& traceProfileHash);
public static PlatformDiagnosticTraceSlotState IsTraceRunning(PlatformDiagnosticTraceSlotType slotType, Guid scenarioId, ulong traceProfileHash);
function isTraceRunning(slotType, scenarioId, traceProfileHash)
Public Shared Function IsTraceRunning (slotType As PlatformDiagnosticTraceSlotType, scenarioId As Guid, traceProfileHash As ULong) As PlatformDiagnosticTraceSlotState
Parameters
- slotType
- PlatformDiagnosticTraceSlotType
The slot for the scenario.
- scenarioId
-
Guid
Platform::Guid
winrt::guid
The scenario identifier.
- traceProfileHash
-
UInt64
unsigned long long
uint64_t
The trace profile identifier.
Returns
True if the specified trace is running; false otherwise.
Remarks
Get a profile's hash from GetKnownTraceList