Defines a class that contains a callback delegate and properties of the application as defined by the user.
Exemple #1
0
 /// <summary>Initializes a new instance of the <see cref="RecoverySettings" /> class.</summary>
 /// <param name="data">A recovery data object that contains the callback method (invoked by the system before Windows Error Reporting terminates the application) and an optional state object.</param>
 /// <param name="interval">The time interval within which the callback method must invoke <see
 /// cref="ApplicationRestartRecoveryManager.ApplicationRecoveryInProgress" /> to prevent WER from terminating
 /// the application.</param>
 /// <seealso cref="ApplicationRestartRecoveryManager" />
 public RecoverySettings(RecoveryData data, uint interval)
 {
     recoveryData = data;
     pingInterval = interval;
 }
 /// <summary>Initializes a new instance of the <see cref="RecoverySettings" /> class.</summary>
 /// <param name="data">A recovery data object that contains the callback method (invoked by the system before Windows Error Reporting terminates the application) and an optional state object.</param>
 /// <param name="interval">The time interval within which the callback method must invoke <see
 /// cref="ApplicationRestartRecoveryManager.ApplicationRecoveryInProgress" /> to prevent WER from terminating
 /// the application.</param>
 /// <seealso cref="ApplicationRestartRecoveryManager" />
 public RecoverySettings(RecoveryData data, uint interval)
 {
     recoveryData = data;
     pingInterval = interval;
 }