Searched refs:_AncestorTask (Results 1 – 2 of 2) sorted by relevance
3226 _UnwrappedTask._Then([_OuterTask](task<_InternalReturnType> _AncestorTask) -> HRESULT { in _AsyncInit() argument3228 if (_AncestorTask._GetImpl()->_IsCompleted()) in _AsyncInit()3230 … _OuterTask->_FinalizeAndRunContinuations(_AncestorTask._GetImpl()->_GetResult()); in _AsyncInit()3234 _CONCRT_ASSERT(_AncestorTask._GetImpl()->_IsCanceled()); in _AsyncInit()3235 if (_AncestorTask._GetImpl()->_HasUserException()) in _AsyncInit()3239 … _OuterTask->_CancelWithExceptionHolder(_AncestorTask._GetImpl()->_GetExceptionHolder(), false); in _AsyncInit()
3226 _UnwrappedTask._Then([_OuterTask](task<_InternalReturnType> _AncestorTask) -> HRESULT {3228 if (_AncestorTask._GetImpl()->_IsCompleted())3230 … _OuterTask->_FinalizeAndRunContinuations(_AncestorTask._GetImpl()->_GetResult());3234 _CONCRT_ASSERT(_AncestorTask._GetImpl()->_IsCanceled());3235 if (_AncestorTask._GetImpl()->_HasUserException())3239 … _OuterTask->_CancelWithExceptionHolder(_AncestorTask._GetImpl()->_GetExceptionHolder(), false);