Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns a unique identifier for the execution context.
virtual unsigned int GetId() const =0;
Return Value
A unique integer identifier.
Remarks
You should use the method GetExecutionContextId to obtain a unique identifier for the object that implements the IExecutionContext interface, before you use the interface as a parameter to methods supplied by the Resource Manager. You are expected to return the same identifier when the GetId function is invoked.
An identifier obtained from a different source could result in undefined behavior.
Requirements
Header: concrtrm.h
Namespace: Concurrency