Upravit

Sdílet prostřednictvím


TraceLoggingWriteTagged macro (traceloggingactivity.h)

Logs an event with an associated ETW activity id.

The activity must have been started, and must not have been stopped yet.

Syntax

void TraceLoggingWriteTagged(
  [in]  activity,
  [in]  name,
        __VA_ARGS__
);

Parameters

[in] activity

The activity that this method will use to tag the event.

[in] name

The name of the event. This must be a string literal and not a variable. It cannot have any embedded nul characters.

__VA_ARGS__

Return value

None

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2012 R2
Target Platform Windows
Header traceloggingactivity.h