PlatformDiagnosticActions.IsTraceRunning 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定方案的跟踪是否正在进行中。
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 获取配置文件的哈希