C# Class SevenSoftware.Windows.ApplicationServices.RestartSettings

Specifies the options for an application to be automatically restarted by Windows Error Reporting.
Regardless of these settings, the application will not be restarted if it executed for less than 60 seconds before terminating.
Exibir arquivo Open project: robertbaker/SevenUpdate Class Usage Examples

Public Methods

Method Description
RestartSettings ( string command, RestartRestrictions restrictions ) : System.Globalization

Initializes a new instance of the RestartSettings class. Creates a new instance of the RestartSettings class.

ToString ( ) : string

Returns a string representation of the current state of this object.

Method Details

RestartSettings() public method

Initializes a new instance of the RestartSettings class. Creates a new instance of the RestartSettings class.
public RestartSettings ( string command, RestartRestrictions restrictions ) : System.Globalization
command string The command line arguments used to restart the application.
restrictions RestartRestrictions A bitwise combination of the RestartRestrictions values that specify when the application should not be restarted.
return System.Globalization

ToString() public method

Returns a string representation of the current state of this object.
public ToString ( ) : string
return string