Application Recovery and Restart

Applications have the opportunity to control what actions are taken on their behalf by the system when they fail.

If the application calls the RegisterApplicationRecoveryCallback function, the system executes the recovery callback on application failure. The application can attempt to recover documents. If the application has not registered for recovery, the system still attempts to diagnose and report the problem.

If the application calls the RegisterApplicationRestart function, the system restarts the application after the recovery or diagnosis is completed. If the application has not registered for restart, the system closes the application.