&gt;(Task&lt;T&gt;, ScriptEngine) Method</a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_Microsoft_ClearScript_JavaScript_JavaScriptExtensions_ToPromise_3.htm" title="ToPromise(ValueTask, ScriptEngine) Method" tocid="M_Microsoft_ClearScript_JavaScript_JavaScriptExtensions_ToPromise_3">ToPromise(ValueTask, ScriptEngine) Method</a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/M_Microsoft_ClearScript_JavaScript_JavaScr