Export (0) Print
Expand All

ProcessStartInfo Members

ProcessStartInfo overview

Public Constructors

public constructorProcessStartInfo Constructor Overloaded. Initializes a new instance of the ProcessStartInfo class.

Public Properties

public propertyArguments Gets or sets the set of command line arguments to use when starting the application.
public propertyCreateNoWindow Gets or sets a value indicating whether to start the process in a new window.
public propertyEnvironmentVariables Gets search paths for files, directories for temporary files, application-specific options, and other similar information.
public propertyErrorDialog Gets or sets a value indicating whether an error dialog is displayed to the user if the process cannot be started.
public propertyErrorDialogParentHandle Gets or sets the window handle to use when an error dialog is shown for a process that cannot be started.
public propertyFileName Gets or sets the application or document to start.
public propertyRedirectStandardError Gets or sets a value indicating whether the process's error output is written to the Process instance's StandardError member, enabling you to write to a destination other than the standard error stream (usually the monitor screen). Used to write error data to a file or a log, for example.
public propertyRedirectStandardInput Gets or sets a value indicating whether the process command input is read from the Process instance's StandardInput member, enabling you to read from a source other than the standard input stream (usually the keyboard). Used to read data from a file, for example.
public propertyRedirectStandardOutput Gets or sets a value indicating whether the process output is written to the Process instance's StandardOutput member, enabling you to write to a destination other than the standard output stream (usually the monitor screen). Used to write data to a file, for example.
public propertyUseShellExecute Gets or sets a value indicating whether to use the operating system shell to start the process.
public propertyVerb Gets or sets the verb to use when opening the application or document specified by the FileName property.
public propertyVerbs Gets the set of verbs associated with the type of file specified by the FileName property.
public propertyWindowStyle Gets or sets the window state to use when the process is started.
public propertyWorkingDirectory Gets or sets the initial directory for the process to be started.

Public Methods

public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ProcessStartInfo Class | System.Diagnostics Namespace

Show:
© 2014 Microsoft