task::is_apartment_aware Method

 

Determines whether the task unwraps a Windows Runtime IAsyncInfo interface or is descended from such a task.

bool is_apartment_aware() const;

true if the task unwraps an IAsyncInfo interface or is descended from such a task, false otherwise.

Requirements

Header: ppltasks.h

Namespace: concurrency

Show: