Megosztás a következőn keresztül:


Context::GetId Method

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

virtual unsigned int GetId() const =0;

Return Value

An identifier for the context that is unique within the scheduler to which the context belongs.

Requirements

Header: concrt.h

Namespace: Concurrency

See Also

Reference

Context Class