إشعار
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تسجيل الدخول أو تغيير الدلائل.
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تغيير الدلائل.
تعطيل المهلة لمعالج الأحداث. بدلا من ذلك، ينتظر الحدث حتى يتم الوفاء بوعد معالج الحدث. تعرف على المزيد حول مهلات Async OnSave
بناء الجملة
executionContext.getEventArgs().disableAsyncTimeout()
مثال
async function myHandler(context) {
context.getEventArgs().disableAsyncTimeout();
// The 10000ms time out will not be disabled if the above line does not come before all async awaits
await Xrm.Navigation.openConfirmDialog({ text: "Are you sure you want to save?" });
}
المقالات ذات الصلة
getSaveMode
isDefaultPrevented
منع الإزالة الافتراضية
preventDefaultOnError