RestartSettings Constructor

Vista Bridge Library

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

Creates a new instance of the RestartSettings class.

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

Syntax

C#
public RestartSettings(
	string commandLine,
	RestartRestrictions restrict
)
Visual Basic (Declaration)
Public Sub New ( _
	commandLine As String, _
	restrict As RestartRestrictions _
)
Visual C++
public:
RestartSettings(
	String^ commandLine, 
	RestartRestrictions restrict
)

Parameters

commandLine
Type: System..::.String
The commandline arguments used to restart the application.
restrict
Type: Microsoft.SDK.Samples.VistaBridge.Library.AppRecoveryRestart..::.RestartRestrictions
One or more RestartRestrictions values that specify the conditions when the application should not be restarted.

See Also