Export (0) Print
Expand All

Context::IsCurrentTaskCollectionCanceling Method

Returns an indication of whether the task collection which is currently executing inline on the current context is in the midst of an active cancellation (or will be shortly).

static bool __cdecl IsCurrentTaskCollectionCanceling();

If a scheduler is attached to the calling context and a task group is executing a task inline on that context, an indication of whether that task group is in the midst of an active cancellation (or will be shortly); otherwise, the value false.

Header: concrt.h

Namespace: concurrency

Show:
© 2015 Microsoft