Export (0) Print
Expand All

Context::Id Method

Returns an identifier for the current context that is unique within the scheduler to which the current context belongs.

static unsigned int __cdecl Id();

If the current context is attached to a scheduler, an identifier for the current context that is unique within the scheduler to which the current context belongs; otherwise, the value -1.

Header: concrt.h

Namespace: concurrency

Show:
© 2014 Microsoft