RegisterForApplicationRecovery Method
From Vista Bridge Library
| Vista Bridge Library for Managed code development |
| ArrManager..::.RegisterForApplicationRecovery Method |
| ArrManager Class See Also Send Feedback |
[This is preliminary documentation and is subject to change.]
Registers an application for 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 static void RegisterForApplicationRecovery( RecoverySettings settings ) |
| Visual Basic (Declaration) |
|---|
Public Shared Sub RegisterForApplicationRecovery ( _ settings As RecoverySettings _ ) |
| Visual C++ |
|---|
public: static void RegisterForApplicationRecovery( RecoverySettings^ settings ) |
Parameters
- settings
- Type: Microsoft.SDK.Samples.VistaBridge.Library.AppRecoveryRestart..::.RecoverySettings
An object that specifies the callback method, an optional parameter to pass to the callback method and a time interval (see remarks).
Remarks
The time interval indicates the time within
which the recovery callback method
calls the ApplicationRecoveryInProgress()()() method to indicate
that it is still performing recovery work.
Exceptions
| Exception | Condition |
|---|---|
| The registration failed due to an invalid parameter. | |
| The registration failed. |