Share via


Context::ScheduleGroupId Method

Returns an identifier for the schedule group that the current context is working on.

_CRTIMP static unsigned int __cdecl ScheduleGroupId();

Return Value

If the current context is attached to a scheduler and working on a schedule group, an identifier for the scheduler group that the current context is working on; otherwise, the value -1.

Requirements

Header: concrt.h

Namespace: Concurrency

See Also

Reference

Context Class

ScheduleGroup Class