閱讀英文

共用方式為


TraceLoggingThreadActivity::Id method

Returns a pointer to the activity's unique identifier (GUID).

This method should only be called after the activity has been started.

Syntax

c++
const GUID* Id();

Parameters

This method has no parameters.

Return value

A pointer to the activity’s unique identifier (GUID).

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2012 R2 [desktop apps only]

Header

Traceloggingactivity.h

See also

TraceLoggingThreadActivity