disableAsyncTimeout (referenca klijentskog API-ja)

Onemogućuje prekoračenje vremena za rukovatelja događajima. Umjesto toga događaj čeka dok se ne ispuni obećanje rukovatelja događajima. Dodatne informacije o vremenskom ograničenju sinkronizacije prilikom spremanja

Sintaksa

executionContext.getEventArgs().disableAsyncTimeout()

Primjer

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