packages/Windows API Code Pack 1.1/source/WindowsAPICodePack/Core/AppRestartRecovery/ApplicationRestartRecoveryManager.cs
/// <summary>
/// Called by an application's <see cref="RecoveryCallback"/> method to 
/// indicate that the recovery work is complete.
/// </summary>
/// <remarks>
/// This should
/// be the last call made by the <see cref="RecoveryCallback"/> method because
/// Windows Error Reporting will terminate the application
/// after this method is invoked.
/// </remarks>
/// <param name="success"><b>true</b> to indicate the the program was able to complete its recovery
/// work before terminating; otherwise <b>false</b>.</param>
Called by an application's  method to
indicate that the recovery work is complete.
Called by an application ' s method to indicate that the recovery work is complete .
public static void ApplicationRecoveryFinished(bool success)
        {            
            CoreHelpers.ThrowIfNotVista();
            AppRestartRecoveryNativeMethods.ApplicationRecoveryFinished(success);
        }
public static void ApplicationRecoveryFinished ( bool success ) { CoreHelpers . ThrowIfNotVista ( ) ; AppRestartRecoveryNativeMethods . ApplicationRecoveryFinished ( success ) ; }
Called by an application's  method to
indicate that the recovery work is complete.
Called by an application ' s method to indicate that the recovery work is complete .
success
bool
None
remarks
This should
be the last call made by the  method because
Windows Error Reporting will terminate the application
after this method is invoked.
This should be the last call made by the method because Windows Error Reporting will terminate the application after this method is invoked .