PlatformDiagnosticTraceInfo 类

定义

提供有关跟踪的信息。

public ref class PlatformDiagnosticTraceInfo 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 PlatformDiagnosticTraceInfo 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 sealed class PlatformDiagnosticTraceInfo
Public NotInheritable Class PlatformDiagnosticTraceInfo
继承
Object Platform::Object IInspectable PlatformDiagnosticTraceInfo
属性

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

注解

重要

只有第一方应用程序才应使用此类。

属性

IsAutoLogger

指示跟踪是否来自 ETW 自动记录器会话。

IsExclusive

指示跟踪是否为独占跟踪。

MaxTraceDurationFileTime

跟踪文件是循环的。 此属性反映从文件开头开始写入跟踪文件本身之前所经过的时间量。

Priority

跟踪优先级。

ProfileHash

此跟踪的标识符。

ScenarioId

此方案的唯一标识符。

适用于