ApplicationRecoverySettings Method

Vista Bridge Library

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

Returns the current settings 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 static RecoverySettings ApplicationRecoverySettings(
	IntPtr processHandle
)
Visual Basic (Declaration)
Public Shared Function ApplicationRecoverySettings ( _
	processHandle As IntPtr _
) As RecoverySettings
Visual C++
public:
static RecoverySettings^ ApplicationRecoverySettings(
	IntPtr processHandle
)

Parameters

processHandle
Type: System..::.IntPtr
A handle to the application's process.

Return Value

A RecoverySettings object that specifies the callback method, an optional parameter to pass to the callback method and the time interval within which the callback method calls the ApplicationRecoveryInProgress()()() method to indicate that it is still performing recovery work.

Exceptions

ExceptionCondition
System..::.ArgumentExceptionCannot get the settings due to an invalid parameter.
System..::.InvalidOperationExceptionThe application is not registered for recovery.

See Also