ObTrace class
Represents the parent class from which all object manager event trace classes are derived.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.
[DisplayName("Object"), Dynamic, EventVersion(2), Guid("{89497f50-effe-4440-8cf2-ce6b1cdcaca7}")]
class ObTrace : MSNT_SystemTrace
{
};
The ObTrace class does not define any members.
To enable object manager event tracing, call the TraceSetInformation function with the InformationClass parameter equal to the TRACE_INFO_CLASS enumeration value TraceSystemTraceEnableFlagsInfo and the EVENT_TRACE_PROPERTIES structure's EnableFlags member equal to PERF_OB_HANDLE (0x80000040).
Requirement | Value |
---|---|
Minimum supported client |
Windows 8 [desktop apps only] |
Minimum supported server |
Windows Server 2012 [desktop apps only] |
MOF |
|