Returns true if task has been requested to cancel it's operation.
| 154 | /// Returns true if task has been requested to cancel it's operation. |
| 155 | /// </summary> |
| 156 | FORCE_INLINE bool IsCancelRequested() |
| 157 | { |
| 158 | return Platform::AtomicRead(&_cancelFlag) != 0; |
| 159 | } |
| 160 | |
| 161 | public: |
| 162 | /// <summary> |