Process Methods

 

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodBeginErrorReadLine()

Begins asynchronous read operations on the redirected StandardError stream of the application.

System_CAPS_pubmethodBeginOutputReadLine()

Begins asynchronous read operations on the redirected StandardOutput stream of the application.

System_CAPS_pubmethodCancelErrorRead()

Cancels the asynchronous read operation on the redirected StandardError stream of an application.

System_CAPS_pubmethodCancelOutputRead()

Cancels the asynchronous read operation on the redirected StandardOutput stream of an application.

System_CAPS_pubmethodClose()

Frees all the resources that are associated with this component.

System_CAPS_pubmethodCloseMainWindow()

Closes a process that has a user interface by sending a close message to its main window.

System_CAPS_pubmethodCreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDispose()

Releases all resources used by the Component.(Inherited from Component.)

System_CAPS_protmethodDispose(Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Release all resources used by this process.(Overrides Component.Dispose(Boolean).)

System_CAPS_pubmethodSystem_CAPS_staticEnterDebugMode()

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.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.(Inherited from Component.)

System_CAPS_pubmethodSystem_CAPS_staticGetCurrentProcess()

Gets a new Process component and associates it with the currently active process.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodSystem_CAPS_staticGetProcessById(Int32)

Returns a new Process component, given the identifier of a process on the local computer.

System_CAPS_pubmethodSystem_CAPS_staticGetProcessById(Int32, String)

Returns a new Process component, given a process identifier and the name of a computer on the network.

System_CAPS_pubmethodSystem_CAPS_staticGetProcesses()

Creates a new Process component for each process resource on the local computer.

System_CAPS_pubmethodSystem_CAPS_staticGetProcesses(String)

Creates a new Process component for each process resource on the specified computer.

System_CAPS_pubmethodSystem_CAPS_staticGetProcessesByName(String)

Creates an array of new Process components and associates them with all the process resources on the local computer that share the specified process name.

System_CAPS_pubmethodSystem_CAPS_staticGetProcessesByName(String, String)

Creates an array of new Process components and associates them with all the process resources on a remote computer that share the specified process name.

System_CAPS_protmethodGetService(Type)

Returns an object that represents a service provided by the Component or by its Container.(Inherited from Component.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodKill()

Immediately stops the associated process.

System_CAPS_pubmethodSystem_CAPS_staticLeaveDebugMode()

Takes a Process component out of the state that lets it interact with operating system processes that run in a special mode.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject.)

System_CAPS_protmethodOnExited()

Raises the Exited event.

System_CAPS_pubmethodRefresh()

Discards any information about the associated process that has been cached inside the process component.

System_CAPS_pubmethodStart()

Starts (or reuses) the process resource that is specified by the StartInfo property of this Process component and associates it with the component.

System_CAPS_pubmethodSystem_CAPS_staticStart(ProcessStartInfo)

Starts the process resource that is specified by the parameter containing process start information (for example, the file name of the process to start) and associates the resource with a new Process component.

System_CAPS_pubmethodSystem_CAPS_staticStart(String)

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

System_CAPS_pubmethodSystem_CAPS_staticStart(String, String)

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

System_CAPS_pubmethodSystem_CAPS_staticStart(String, String, SecureString, String)

Starts a process resource by specifying the name of an application, a user name, a password, and a domain and associates the resource with a new Process component.

System_CAPS_pubmethodSystem_CAPS_staticStart(String, String, String, SecureString, String)

Starts a process resource by specifying the name of an application, a set of command-line arguments, a user name, a password, and a domain and associates the resource with a new Process component.

System_CAPS_pubmethodToString()

Formats the process's name as a string, combined with the parent component type, if applicable.(Overrides Component.ToString().)

System_CAPS_pubmethodWaitForExit()

Instructs the Process component to wait indefinitely for the associated process to exit.

System_CAPS_pubmethodWaitForExit(Int32)

Instructs the Process component to wait the specified number of milliseconds for the associated process to exit.

System_CAPS_pubmethodWaitForInputIdle()

Causes the Process component to wait indefinitely for the associated process to enter an idle state. This overload applies only to processes with a user interface and, therefore, a message loop.

System_CAPS_pubmethodWaitForInputIdle(Int32)

Causes the Process component to wait the specified number of milliseconds for the associated process to enter an idle state. This overload applies only to processes with a user interface and, therefore, a message loop.

Return to top
Show: