task::is_apartment_aware Method (C++ REST SDK)
Determines whether the task unwraps a Windows Runtime IAsyncInfo interface or is descended from such a task.
bool is_apartment_aware() const;
Return Value
true if the task unwraps an IAsyncInfo interface or is descended from such a task, false otherwise.
Requirements
Header: pplxtasks.h
Namespace: pplx