Customize application startup by using delegates
In Dynamics AX 2012, there were customization points that allowed you to subscribe to events (Application.Startup delegates) that were raised when the client was initializing. These events were deprecated because there is no concept of a rich client. On the server, only server sessions are considered, however because you can migrate logic from previous releases, new events have been added to the ApplicationStartupEventManager class.
The following sections highlight the new data sources that you can add to existing forms by using extensions.
static delegate void onSystemStartup()
- This event occurs when the system starts up.
- It is raised once per AOS upon startup.
static delegate void onFirstTimeUserInteractiveSessionCreated()
- This event occurs when the system is creating an interactive session for the first time for a user.
- It is raised once per user per AOS.
static delegate void onFirstTimeUserNonInteractiveSessionCreated()
- This event occurs when the system is creating a non-interactive session for the first time for a user.
- It is raised once per user per AOS.
static delegate void onInteractiveSessionCreated()
- This event occurs when an interactive session is created and ready for use.
- It is raised once per interactive session creation for any user.
static delegate void onSessionCreated(boolean _isBatch, boolean _isInteractive)
- This event occurs when the session is created and ready for use.
- It is raised once per interactive session creation for any user.
- _isBatch specifies whether the system is running a batch job.
- _isInteractive specifies whether the session is interactive.
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기