RecoveryCallback Delegate

Vista Bridge Library

[This is preliminary documentation and is subject to change.]

The Delegate that represents the callback method invoked by the system when an application has registered for application recovery.

Namespace:  Microsoft.SDK.Samples.VistaBridge.Library.AppRecoveryRestart
Assembly:  VistaBridgeLibrary (in VistaBridgeLibrary.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

C#
public delegate int RecoveryCallback(
	RecoveryData parameter
)
Visual Basic (Declaration)
Public Delegate Function RecoveryCallback ( _
	parameter As RecoveryData _
) As Integer
Visual C++
public delegate int RecoveryCallback(
	RecoveryData^ parameter
)

Parameters

parameter
Type: Microsoft.SDK.Samples.VistaBridge.Library.AppRecoveryRestart..::.RecoveryData
An application defined object that is passed to the callback method.

Remarks

The callback method will be invoked prior to the application being terminated by Windows Error Reporting (WER). To keep WER from terminating the application before the callback method completes, the callback method must periodically call the ApplicationRecoveryInProgress()()() method.

See Also