Process Methods
.NET Framework 3.5
The Process type exposes the following members.
| Name | Description | |
|---|---|---|
|
BeginErrorReadLine | Begins asynchronous read operations on the redirected StandardError stream of the application. |
|
BeginOutputReadLine | Begins asynchronous read operations on the redirected StandardOutput stream of the application. |
|
CancelErrorRead | Cancels the asynchronous read operation on the redirected StandardError stream of an application. |
|
CancelOutputRead | Cancels the asynchronous read operation on the redirected StandardOutput stream of an application. |
|
Close | Frees all the resources that are associated with this component. |
|
CloseMainWindow | Closes a process that has a user interface by sending a close message to its main window. |
|
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
|
Dispose | Overloaded. |
|
EnterDebugMode | Puts a Process component in state to interact with operating system processes that run in a special mode by enabling the native property SeDebugPrivilege on the current thread. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.) |
|
GetCurrentProcess | Gets a new Process component and associates it with the currently active process. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
|
GetProcessById | Overloaded. Creates a new Process component, and associates it with the existing process resource that you specify. |
|
GetProcesses | Overloaded. Creates an array of new Process components and associates them with existing process resources. |
|
GetProcessesByName | Overloaded. Creates an array of new Process components and associates them with the existing process resources that all share the specified process name. |
|
GetService | Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
|
Kill | Immediately stops the associated process. |
|
LeaveDebugMode | Takes a Process component out of the state that lets it interact with operating system processes that run in a special mode. |
|
MemberwiseClone | Overloaded. |
|
OnExited | Raises the Exited event. |
|
Refresh | Discards any information about the associated process that has been cached inside the process component. |
|
Start | Overloaded. Starts a process resource and associates it with a Process component. |
|
ToString |
Formats the process's name as a string, combined with the parent component type, if applicable. (Overrides Component.ToString().) In .NET Compact Framework 3.5, this member is inherited from Object.ToString(). |
|
WaitForExit | Overloaded. Sets the period of time to wait for the associated process to exit, and blocks the current thread of execution until the time has elapsed or the process has exited. |
|
WaitForInputIdle | Overloaded. Causes the Process component to wait for the associated process to enter an idle state. |