NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Process.Start

Starts a process resource and associates it with a Process component.

Overload List

Starts a process specified by the StartInfo property of this Process component and associates it with the Process. If a process resource is reused rather than started, the reused process is associated with this Process component.

[Visual Basic] Overloads Overridable Public Function Start() As Boolean
[C#] public virtual bool Start();
[C++] public: virtual bool Start();
[JScript] public function Start() : Boolean;

Starts a process resource specified by the process start information passed in, for example the file name of the process to start. Associates the process resource with a new Process component.

[Visual Basic] Overloads Public Shared Function Start(ProcessStartInfo) As Process
[C#] public static Process Start(ProcessStartInfo);
[C++] public: static Process* Start(ProcessStartInfo*);
[JScript] public static function Start(ProcessStartInfo) : Process;

Starts a process resource by specifying the name of a document or application file. Associates the process resource with a new Process component.

[Visual Basic] Overloads Public Shared Function Start(String) As Process
[C#] public static Process Start(String);
[C++] public: static Process* Start(String*);
[JScript] public static function Start(String) : Process;

Starts a process resource by specifying the name of an application and a set of command line arguments. Associates the process resource with a new Process component.

[Visual Basic] Overloads Public Shared Function Start(String, String) As Process
[C#] public static Process Start(String, String);
[C++] public: static Process* Start(String*, String*);
[JScript] public static function Start(String, String) : Process;

Example

The following example demonstrates starting Internet Explorer as a process from within your application. It passes in the URL

See Also

Process Class | Process Members | System.Diagnostics Namespace