के माध्यम से साझा करें


disableAsyncTimeout (क्लाइंट API संदर्भ)

ईवेंट हैंडलर के लिए टाइमआउट को अक्षम करता है। इसके बजाय, ईवेंट इवेंट हैंडलर के वादे के पूरा होने तक इंतजार करता है। 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
preventDefault
preventDefaultOnError