다음을 통해 공유


disableAsyncTimeout(클라이언트 API 참조)

이벤트 처리기에 대한 시간 제한을 사용하지 않도록 설정합니다. 대신 이벤트는 이벤트 처리기의 약속이 충족될 때까지 기다립니다. 비동기 OnSave 시간 제한에 대해 자세히 알아보기

Syntax

executionContext.getEventArgs().disableAsyncTimeout()

Example

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