Export (0) Print
Expand All

Process Methods

The Process type exposes the following members.

  NameDescription
Public method BeginErrorReadLine Begins asynchronous read operations on the redirected StandardError stream of the application.
Public method BeginOutputReadLine Begins asynchronous read operations on the redirected StandardOutput stream of the application.
Public method CancelErrorRead Cancels the asynchronous read operation on the redirected StandardError stream of an application.
Public method CancelOutputRead Cancels the asynchronous read operation on the redirected StandardOutput stream of an application.
Public method Supported by the .NET Compact Framework Close Frees all the resources that are associated with this component.
Public method Supported by the .NET Compact Framework CloseMainWindow Closes a process that has a user interface by sending a close message to its main window.
Public method 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.)
Public method Supported by the .NET Compact Framework Dispose Overloaded.
Public method Static member 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.
Public method Supported by the .NET Compact Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Finalize Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Public method Static member Supported by the .NET Compact Framework GetCurrentProcess Gets a new Process component and associates it with the currently active process.
Public method Supported by the .NET Compact Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Static member Supported by the .NET Compact Framework GetProcessById Overloaded. Creates a new Process component, and associates it with the existing process resource that you specify.
Public method Static member GetProcesses Overloaded. Creates an array of new Process components and associates them with existing process resources.
Public method Static member GetProcessesByName Overloaded. Creates an array of new Process components and associates them with the existing process resources that all share the specified process name.
Protected method GetService Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Public method Supported by the .NET Compact Framework GetType Gets the type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Supported by the .NET Compact Framework Kill Immediately stops the associated process.
Public method Static member LeaveDebugMode Takes a Process component out of the state that lets it interact with operating system processes that run in a special mode.
Protected method Supported by the .NET Compact Framework MemberwiseClone Overloaded.
Protected method Supported by the .NET Compact Framework OnExited Raises the Exited event.
Public method Supported by the .NET Compact Framework Refresh Discards any information about the associated process that has been cached inside the process component.
Public method Static member Supported by the .NET Compact Framework Start Overloaded. Starts a process resource and associates it with a Process component.
Public method Supported by the .NET Compact Framework 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().
Public method Supported by the .NET Compact Framework 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.
Public method WaitForInputIdle Overloaded. Causes the Process component to wait for the associated process to enter an idle state.
Top

Community Additions

ADD
Show:
© 2014 Microsoft