經安全檢測,此網站為安全網站,請放心前往原始網址!

如何使用 Promise 處理錯誤 (HTML) - Windows app development

有時我們很難知道如何處理 Promise 不同階段的例外狀況。在快速入門:在 JavaScript 中使用 Promise 中,我們示範了如何使用基本「適用於 JavaScript 的 Windows Library」的 Promise 以及如何處理 then 函式中的錯誤。

msdn.microsoft.com

網址安全性掃描由 google 提供