PlatformDiagnosticActions.IsTraceRunning 方法

定义

指定方案的跟踪是否正在进行中。

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

参数

slotType
PlatformDiagnosticTraceSlotType

方案的槽。

scenarioId
Guid

Platform::Guid

winrt::guid

方案标识符。

traceProfileHash
UInt64

unsigned long long

uint64_t

跟踪配置文件标识符。

返回

如果指定的跟踪正在运行,则为 True;否则为 false

注解

GetKnownTraceList 获取配置文件的哈希

适用于

另请参阅