System.Diagnostics.Process
[SECURITY CRITICAL] Provides a managed wrapper for a process handle.
[SECURITY CRITICAL] Initializes a new instance of the class from the specified handle, indicating whether to release the handle during the finalization phase.
The handle to be wrapped.
true to reliably let release the handle during the finalization phase; otherwise, false.
Provides data for the and events.
2
Gets the line of characters that was written to a redirected output stream.
The line that was written by an associated to its redirected or stream.
2
Represents the method that will handle the event or event of a .
The source of the event.
A that contains the event data.
2
Provides access to local and remote processes and enables you to start and stop local system processes.To browse the .NET Framework source code for this type, see the Reference Source.
1
Initializes a new instance of the class.
Gets the base priority of the associated process.
The base priority, which is computed from the of the associated process.
The platform is Windows 98 or Windows Millennium Edition (Windows Me); set the property to false to access this property on Windows 98 and Windows Me.
The process has exited.-or- The process has not started, so there is no process ID.
2
Begins asynchronous read operations on the redirected stream of the application.
The property is false.- or - An asynchronous read operation is already in progress on the stream.- or - The stream has been used by a synchronous read operation.
2
Begins asynchronous read operations on the redirected stream of the application.
The property is false.- or - An asynchronous read operation is already in progress on the stream.- or - The stream has been used by a synchronous read operation.
2
Cancels the asynchronous read operation on the redirected stream of an application.
The stream is not enabled for asynchronous read operations.
2
Cancels the asynchronous read operation on the redirected stream of an application.
The stream is not enabled for asynchronous read operations.
2
Release all resources used by this process.
true to release both managed and unmanaged resources; false to release only unmanaged resources.
Gets or sets whether the event should be raised when the process terminates.
true if the event should be raised when the associated process is terminated (through either an exit or a call to ); otherwise, false. The default is false.
2
Puts a 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.
2
Occurs when an application writes to its redirected stream.
2
Gets the value that the associated process specified when it terminated.
The code that the associated process specified when it terminated.
The process has not exited.-or- The process is not valid.
You are trying to access the property for a process that is running on a remote computer. This property is available only for processes that are running on the local computer.
1
Occurs when a process exits.
2
Gets the time that the associated process exited.
A that indicates when the associated process was terminated.
The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.
You are trying to access the property for a process that is running on a remote computer. This property is available only for processes that are running on the local computer.
1
Gets a new component and associates it with the currently active process.
A new component associated with the process resource that is running the calling application.
1
Returns a new component, given the identifier of a process on the local computer.
A component that is associated with the local process resource identified by the parameter.
The system-unique identifier of a process resource.
The process specified by the parameter is not running. The identifier might be expired.
The process was not started by this object.
1
Returns a new component, given a process identifier and the name of a computer on the network.
A component that is associated with a remote process resource identified by the parameter.
The system-unique identifier of a process resource.
The name of a computer on the network.
The process specified by the parameter is not running. The identifier might be expired.-or- The parameter syntax is invalid. The name might have length zero (0).
The parameter is null.
The process was not started by this object.
1
Creates a new component for each process resource on the local computer.
An array of type that represents all the process resources running on the local computer.
1
Creates a new component for each process resource on the specified computer.
An array of type that represents all the process resources running on the specified computer.
The computer from which to read the list of processes.
The parameter syntax is invalid. It might have length zero (0).
The parameter is null.
The operating system platform does not support this operation on remote computers.
There are problems accessing the performance counter API's used to get process information. This exception is specific to Windows NT, Windows 2000, and Windows XP.
A problem occurred accessing an underlying system API.
1
Creates an array of new components and associates them with all the process resources on the local computer that share the specified process name.
An array of type that represents the process resources running the specified application or file.
The friendly name of the process.
There are problems accessing the performance counter API's used to get process information. This exception is specific to Windows NT, Windows 2000, and Windows XP.
1
Creates an array of new components and associates them with all the process resources on a remote computer that share the specified process name.
An array of type that represents the process resources running the specified application or file.
The friendly name of the process.
The name of a computer on the network.
The parameter syntax is invalid. It might have length zero (0).
The parameter is null.
The operating system platform does not support this operation on remote computers.
There are problems accessing the performance counter API's used to get process information. This exception is specific to Windows NT, Windows 2000, and Windows XP.
A problem occurred accessing an underlying system API.
1
Gets a value indicating whether the associated process has been terminated.
true if the operating system process referenced by the component has terminated; otherwise, false.
There is no process associated with the object.
The exit code for the process could not be retrieved.
You are trying to access the property for a process that is running on a remote computer. This property is available only for processes that are running on the local computer.
1
Gets the unique identifier for the associated process.
The system-generated unique identifier of the process that is referenced by this instance.
The process's property has not been set.-or- There is no process associated with this object.
The platform is Windows 98 or Windows Millennium Edition (Windows Me); set the property to false to access this property on Windows 98 and Windows Me.
1
Immediately stops the associated process.
The associated process could not be terminated. -or-The process is terminating.-or- The associated process is a Win16 executable.
You are attempting to call for a process that is running on a remote computer. The method is available only for processes running on the local computer.
The process has already exited. -or-There is no process associated with this object.
1
Takes a component out of the state that lets it interact with operating system processes that run in a special mode.
2
Gets the name of the computer the associated process is running on.
The name of the computer that the associated process is running on.
There is no process associated with this object.
1
Gets the main module for the associated process.
The that was used to start the process.
You are trying to access the property for a process that is running on a remote computer. This property is available only for processes that are running on the local computer.
A 32-bit process is trying to access the modules of a 64-bit process.
The platform is Windows 98 or Windows Millennium Edition (Windows Me); set to false to access this property on Windows 98 and Windows Me.
The process is not available.-or- The process has exited.
1
Gets or sets the maximum allowable working set size for the associated process.
The maximum working set size that is allowed in memory for the process, in bytes.
The maximum working set size is invalid. It must be greater than or equal to the minimum working set size.
Working set information cannot be retrieved from the associated process resource.-or- The process identifier or process handle is zero because the process has not been started.
You are trying to access the property for a process that is running on a remote computer. This property is available only for processes that are running on the local computer.
The process is not available.-or- The process has exited.
The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.
2
Gets or sets the minimum allowable working set size for the associated process.
The minimum working set size that is required in memory for the process, in bytes.
The minimum working set size is invalid. It must be less than or equal to the maximum working set size.
Working set information cannot be retrieved from the associated process resource.-or- The process identifier or process handle is zero because the process has not been started.
You are trying to access the property for a process that is running on a remote computer. This property is available only for processes that are running on the local computer.
The process is not available.-or- The process has exited.
The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.
2
Gets the modules that have been loaded by the associated process.
An array of type that represents the modules that have been loaded by the associated process.
You are attempting to access the property for a process that is running on a remote computer. This property is available only for processes that are running on the local computer.
The process is not available.
The platform is Windows 98 or Windows Millennium Edition (Windows Me); set to false to access this property on Windows 98 and Windows Me.
You are attempting to access the property for either the system process or the idle process. These processes do not have modules.
2
Gets the amount of nonpaged system memory allocated for the associated process.
The amount of system memory, in bytes, allocated for the associated process that cannot be written to the virtual memory paging file.
The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.
2
Raises the event.
Occurs each time an application writes a line to its redirected stream.
2
Gets the amount of paged memory allocated for the associated process.
The amount of memory, in bytes, allocated in the virtual memory paging file for the associated process.
The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.
2
Gets the amount of pageable system memory allocated for the associated process.
The amount of system memory, in bytes, allocated for the associated process that can be written to the virtual memory paging file.
The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.
2
Gets the maximum amount of memory in the virtual memory paging file used by the associated process.
The maximum amount of memory, in bytes, allocated in the virtual memory paging file for the associated process since it was started.
The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.
2
Gets the maximum amount of virtual memory used by the associated process.
The maximum amount of virtual memory, in bytes, allocated for the associated process since it was started.
The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.
2
Gets the maximum amount of physical memory used by the associated process.
The maximum amount of physical memory, in bytes, allocated for the associated process since it was started.
The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.
2
Gets or sets a value indicating whether the associated process priority should temporarily be boosted by the operating system when the main window has the focus.
true if dynamic boosting of the process priority should take place for a process when it is taken out of the wait state; otherwise, false. The default is false.
Priority boost information could not be retrieved from the associated process resource.
The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.-or- The process identifier or process handle is zero. (The process has not been started.)
You are attempting to access the property for a process that is running on a remote computer. This property is available only for processes that are running on the local computer.
The process is not available.
1
Gets or sets the overall priority category for the associated process.
The priority category for the associated process, from which the of the process is calculated.
Process priority information could not be set or retrieved from the associated process resource.-or- The process identifier or process handle is zero. (The process has not been started.)
You are attempting to access the property for a process that is running on a remote computer. This property is available only for processes that are running on the local computer.
The process is not available.
You have set the to AboveNormal or BelowNormal when using Windows 98 or Windows Millennium Edition (Windows Me). These platforms do not support those values for the priority class.
Priority class cannot be set because it does not use a valid value, as defined in the enumeration.
1
Gets the amount of private memory allocated for the associated process.
The amount of memory, in bytes, allocated for the associated process that cannot be shared with other processes.
The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.
2
Gets the privileged processor time for this process.
A that indicates the amount of time that the process has spent running code inside the operating system core.
The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.
You are attempting to access the property for a process that is running on a remote computer. This property is available only for processes that are running on the local computer.
2
Gets the name of the process.
The name that the system uses to identify the process to the user.
The process does not have an identifier, or no process is associated with the .-or- The associated process has exited.
The platform is Windows 98 or Windows Millennium Edition (Windows Me); set to false to access this property on Windows 98 and Windows Me.
The process is not on this computer.
1
Gets or sets the processors on which the threads in this process can be scheduled to run.
A bitmask representing the processors that the threads in the associated process can run on. The default depends on the number of processors on the computer. The default value is 2 n -1, where n is the number of processors.
information could not be set or retrieved from the associated process resource.-or- The process identifier or process handle is zero. (The process has not been started.)
You are attempting to access the property for a process that is running on a remote computer. This property is available only for processes that are running on the local computer.
The process was not available.-or- The process has exited.
2
Discards any information about the associated process that has been cached inside the process component.
1
Gets the native handle to this process.
The native handle to this process.
Gets the Terminal Services session identifier for the associated process.
The Terminal Services session identifier for the associated process.
There is no session associated with this process.
There is no process associated with this session identifier.-or-The associated process is not on this machine.
The property is not supported on Windows 98.
1
Gets a stream used to read the error output of the application.
A that can be used to read the standard error stream of the application.
The stream has not been defined for redirection; ensure is set to true and is set to false.- or - The stream has been opened for asynchronous read operations with .
1
Gets a stream used to write the input of the application.
A that can be used to write the standard input stream of the application.
The stream has not been defined because is set to false.
1
Gets a stream used to read the textual output of the application.
A that can be used to read the standard output stream of the application.
The stream has not been defined for redirection; ensure is set to true and is set to false.- or - The stream has been opened for asynchronous read operations with .
1
Starts (or reuses) the process resource that is specified by the property of this component and associates it with the component.
true if a process resource is started; false if no new process resource is started (for example, if an existing process is reused).
No file name was specified in the component's .-or- The member of the property is true while , , or is true.
There was an error in opening the associated file.
The process object has already been disposed.
1
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 component.
A new that is associated with the process resource, or null if no process resource is started. Note that a new process that’s started alongside already running instances of the same process will be independent from the others. In addition, Start may return a non-null Process with its property already set to true. In this case, the started process may have activated an existing instance of itself and then exited.
The that contains the information that is used to start the process, including the file name and any command-line arguments.
No file name was specified in the parameter's property.-or- The property of the parameter is true and the , , or property is also true.-or-The property of the parameter is true and the property is not null or empty or the property is not null.
The parameter is null.
The process object has already been disposed.
The file specified in the parameter's property could not be found.
An error occurred when opening the associated file. -or-The sum of the length of the arguments and the length of the full path to the process exceeds 2080. The error message associated with this exception can be one of the following: "The data area passed to a system call is too small." or "Access is denied."
1
Starts a process resource by specifying the name of a document or application file and associates the resource with a new component.
A new that is associated with the process resource, or null if no process resource is started. Note that a new process that’s started alongside already running instances of the same process will be independent from the others. In addition, Start may return a non-null Process with its property already set to true. In this case, the started process may have activated an existing instance of itself and then exited.
The name of a document or application file to run in the process.
An error occurred when opening the associated file.
The process object has already been disposed.
The PATH environment variable has a string containing quotes.
1
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 component.
A new that is associated with the process resource, or null if no process resource is started. Note that a new process that’s started alongside already running instances of the same process will be independent from the others. In addition, Start may return a non-null Process with its property already set to true. In this case, the started process may have activated an existing instance of itself and then exited.
The name of an application file to run in the process.
Command-line arguments to pass when starting the process.
The or parameter is null.
An error occurred when opening the associated file. -or-The sum of the length of the arguments and the length of the full path to the process exceeds 2080. The error message associated with this exception can be one of the following: "The data area passed to a system call is too small." or "Access is denied."
The process object has already been disposed.
The PATH environment variable has a string containing quotes.
1
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 component.
A new that is associated with the process resource, or null if no process resource is started. Note that a new process that’s started alongside already running instances of the same process will be independent from the others. In addition, Start may return a non-null Process with its property already set to true. In this case, the started process may have activated an existing instance of itself and then exited.
The name of an application file to run in the process.
The user name to use when starting the process.
A that contains the password to use when starting the process.
The domain to use when starting the process.
No file name was specified.
is not an executable (.exe) file.
There was an error in opening the associated file.
The process object has already been disposed.
1
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 component.
A new that is associated with the process resource, or null if no process resource is started. Note that a new process that’s started alongside already running instances of the same process will be independent from the others. In addition, Start may return a non-null Process with its property already set to true. In this case, the started process may have activated an existing instance of itself and then exited.
The name of an application file to run in the process.
Command-line arguments to pass when starting the process.
The user name to use when starting the process.
A that contains the password to use when starting the process.
The domain to use when starting the process.
No file name was specified.
is not an executable (.exe) file.
An error occurred when opening the associated file. -or-The sum of the length of the arguments and the length of the full path to the associated file exceeds 2080. The error message associated with this exception can be one of the following: "The data area passed to a system call is too small." or "Access is denied."
The process object has already been disposed.
1
Gets or sets the properties to pass to the method of the .
The that represents the data with which to start the process. These arguments include the name of the executable file or document used to start the process.
The value that specifies the is null.
1
Gets the time that the associated process was started.
An object that indicates when the process started. An exception is thrown if the process is not running.
The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.
You are attempting to access the property for a process that is running on a remote computer. This property is available only for processes that are running on the local computer.
The process has exited.-or-The process has not been started.
An error occurred in the call to the Windows function.
1
Gets the set of threads that are running in the associated process.
An array of type representing the operating system threads currently running in the associated process.
The process does not have an , or no process is associated with the instance.-or- The associated process has exited.
The platform is Windows 98 or Windows Millennium Edition (Windows Me); set to false to access this property on Windows 98 and Windows Me.
1
Gets the total processor time for this process.
A that indicates the amount of time that the associated process has spent utilizing the CPU. This value is the sum of the and the .
The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.
You are attempting to access the property for a process that is running on a remote computer. This property is available only for processes that are running on the local computer.
2
Gets the user processor time for this process.
A that indicates the amount of time that the associated process has spent running code inside the application portion of the process (not inside the operating system core).
The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.
You are attempting to access the property for a process that is running on a remote computer. This property is available only for processes that are running on the local computer.
2
Gets the amount of the virtual memory allocated for the associated process.
The amount of virtual memory, in bytes, allocated for the associated process.
The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.
2
Instructs the component to wait indefinitely for the associated process to exit.
The wait setting could not be accessed.
No process has been set, and a from which the property can be determined does not exist.-or- There is no process associated with this object.-or- You are attempting to call for a process that is running on a remote computer. This method is available only for processes that are running on the local computer.
1
Instructs the component to wait the specified number of milliseconds for the associated process to exit.
true if the associated process has exited; otherwise, false.
The amount of time, in milliseconds, to wait for the associated process to exit. The maximum is the largest possible value of a 32-bit integer, which represents infinity to the operating system.
The wait setting could not be accessed.
No process has been set, and a from which the property can be determined does not exist.-or- There is no process associated with this object.-or- You are attempting to call for a process that is running on a remote computer. This method is available only for processes that are running on the local computer.
1
Gets the amount of physical memory allocated for the associated process.
The amount of physical memory, in bytes, allocated for the associated process.
The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.
2
Represents a.dll or .exe file that is loaded into a particular process.
2
Gets the memory address where the module was loaded.
The load address of the module.
2
Gets the memory address for the function that runs when the system loads and runs the module.
The entry point of the module.
2
Gets the full path to the module.
The fully qualified path that defines the location of the module.
2
Gets the amount of memory that is required to load the module.
The size, in bytes, of the memory that the module occupies.
2
Gets the name of the process module.
The name of the module.
2
Converts the name of the module to a string.
The value of the property.
2
Provides a strongly typed collection of objects.
2
Initializes a new instance of the class, with no associated instances.
Initializes a new instance of the class, using the specified array of instances.
An array of instances with which to initialize this instance.
Determines whether the specified process module exists in the collection.
true if the module exists in the collection; otherwise, false.
A instance that indicates the module to find in this collection.
2
Copies an array of instances to the collection, at the specified index.
An array of instances to add to the collection.
The location at which to add the new instances.
2
Provides the location of a specified module within the collection.
The zero-based index that defines the location of the module within the .
The whose index is retrieved.
2
Gets an index for iterating over the set of process modules.
A that indexes the modules in the collection
The zero-based index value of the module in the collection.
2
Indicates the priority that the system associates with a process. This value, together with the priority value of each thread of the process, determines each thread's base priority level.
2
Specifies that the process has priority above Normal but below .
Specifies that the process has priority above Idle but below Normal.
Specifies that the process performs time-critical tasks that must be executed immediately, such as the Task List dialog, which must respond quickly when called by the user, regardless of the load on the operating system. The threads of the process preempt the threads of normal or idle priority class processes.
Specifies that the threads of this process run only when the system is idle, such as a screen saver. The threads of the process are preempted by the threads of any process running in a higher priority class.
Specifies that the process has no special scheduling needs.
Specifies that the process has the highest possible priority.
Specifies a set of values that are used when you start a process.
2
Initializes a new instance of the class without specifying a file name with which to start the process.
Initializes a new instance of the class and specifies a file name such as an application or document with which to start the process.
An application or document with which to start a process.
Initializes a new instance of the class, specifies an application file name with which to start the process, and specifies a set of command-line arguments to pass to the application.
An application with which to start a process.
Command-line arguments to pass to the application when the process starts.
Gets or sets the set of command-line arguments to use when starting the application.
A single string containing the arguments to pass to the target application specified in the property. The default is an empty string (""). On Windows Vista and earlier versions of the Windows operating system, the length of the arguments added to the length of the full path to the process must be less than 2080. On Windows 7 and later versions, the length must be less than 32699.Arguments are parsed and interpreted by the target application, so must align with the expectations of that application. For.NET applications as demonstrated in the Examples below, spaces are interpreted as a separator between multiple arguments. A single argument that includes spaces must be surrounded by quotation marks, but those quotation marks are not carried through to the target application. In include quotation marks in the final parsed argument, triple-escape each mark.
1
Gets or sets a value indicating whether to start the process in a new window.
true if the process should be started without creating a new window to contain it; otherwise, false. The default is false.
2
Gets or sets a value that identifies the domain to use when starting the process.
The Active Directory domain to use when starting the process. The domain property is primarily of interest to users within enterprise environments that use Active Directory.
1
Gets or sets the application or document to start.
The name of the application to start, or the name of a document of a file type that is associated with an application and that has a default open action available to it. The default is an empty string ("").
1
Gets or sets a value that indicates whether the Windows user profile is to be loaded from the registry.
true if the Windows user profile should be loaded; otherwise, false. The default is false.
1
Gets or sets a secure string that contains the user password to use when starting the process.
The user password to use when starting the process.
1
Gets or sets a value that indicates whether the error output of an application is written to the stream.
true if error output should be written to ; otherwise, false. The default is false.
2
Gets or sets a value indicating whether the input for an application is read from the stream.
true if input should be read from ; otherwise, false. The default is false.
2
Gets or sets a value that indicates whether the textual output of an application is written to the stream.
true if output should be written to ; otherwise, false. The default is false.
2
Gets or sets the preferred encoding for error output.
An object that represents the preferred encoding for error output. The default is null.
Gets or sets the preferred encoding for standard output.
An object that represents the preferred encoding for standard output. The default is null.
Gets or sets the user name to be used when starting the process.
The user name to use when starting the process.
1
Gets or sets a value indicating whether to use the operating system shell to start the process.
true if the shell should be used when starting the process; false if the process should be created directly from the executable file. The default is true.
2
When the property is false, gets or sets the working directory for the process to be started. When is true, gets or sets the directory that contains the process to be started.
When is true, the fully qualified name of the directory that contains the process to be started. When the property is false, the working directory for the process to be started. The default is an empty string ("").
1
Represents an operating system process thread.
2
Gets the base priority of the thread.
The base priority of the thread, which the operating system computes by combining the process priority class with the priority level of the associated thread.
2
Gets the current priority of the thread.
The current priority of the thread, which may deviate from the base priority based on how the operating system is scheduling the thread. The priority may be temporarily boosted for an active thread.
2
Gets the unique identifier of the thread.
The unique identifier associated with a specific thread.
2
Sets the preferred processor for this thread to run on.
The preferred processor for the thread, used when the system schedules threads, to determine which processor to run the thread on.
The system could not set the thread to start on the specified processor.
The platform is Windows 98 or Windows Millennium Edition.
The process is on a remote computer.
2
Gets or sets a value indicating whether the operating system should temporarily boost the priority of the associated thread whenever the main window of the thread's process receives the focus.
true to boost the thread's priority when the user interacts with the process's interface; otherwise, false. The default is false.
The priority boost information could not be retrieved.-or-The priority boost information could not be set.
The platform is Windows 98 or Windows Millennium Edition.
The process is on a remote computer.
2
Gets or sets the priority level of the thread.
One of the values, specifying a range that bounds the thread's priority.
The thread priority level information could not be retrieved. -or-The thread priority level could not be set.
The platform is Windows 98 or Windows Millennium Edition.
The process is on a remote computer.
2
Gets the amount of time that the thread has spent running code inside the operating system core.
A indicating the amount of time that the thread has spent running code inside the operating system core.
The thread time could not be retrieved.
The platform is Windows 98 or Windows Millennium Edition.
The process is on a remote computer.
2
Sets the processors on which the associated thread can run.
An that points to a set of bits, each of which represents a processor that the thread can run on.
The processor affinity could not be set.
The platform is Windows 98 or Windows Millennium Edition.
The process is on a remote computer.
2
Resets the ideal processor for this thread to indicate that there is no single ideal processor. In other words, so that any processor is ideal.
The ideal processor could not be reset.
The platform is Windows 98 or Windows Millennium Edition.
The process is on a remote computer.
2
Gets the memory address of the function that the operating system called that started this thread.
The thread's starting address, which points to the application-defined function that the thread executes.
The platform is Windows 98 or Windows Millennium Edition.
The process is on a remote computer.
2
Gets the time that the operating system started the thread.
A representing the time that was on the system when the operating system started the thread.
The thread time could not be retrieved.
The platform is Windows 98 or Windows Millennium Edition.
The process is on a remote computer.
2
Gets the current state of this thread.
A that indicates the thread's execution, for example, running, waiting, or terminated.
The platform is Windows 98 or Windows Millennium Edition.
The process is on a remote computer.
2
Gets the total amount of time that this thread has spent using the processor.
A that indicates the amount of time that the thread has had control of the processor.
The thread time could not be retrieved.
The platform is Windows 98 or Windows Millennium Edition.
The process is on a remote computer.
2
Gets the amount of time that the associated thread has spent running code inside the application.
A indicating the amount of time that the thread has spent running code inside the application, as opposed to inside the operating system core.
The thread time could not be retrieved.
The platform is Windows 98 or Windows Millennium Edition.
The process is on a remote computer.
2
Gets the reason that the thread is waiting.
A representing the reason that the thread is in the wait state.
The thread is not in the wait state.
The platform is Windows 98 or Windows Millennium Edition.
The process is on a remote computer.
2
Provides a strongly typed collection of objects.
2
Initializes a new instance of the class, with no associated instances.
Initializes a new instance of the class, using the specified array of instances.
An array of instances with which to initialize this instance.
Appends a process thread to the collection.
The zero-based index of the thread in the collection.
The thread to add to the collection.
2
Determines whether the specified process thread exists in the collection.
true if the thread exists in the collection; otherwise, false.
A instance that indicates the thread to find in this collection.
2
Copies an array of instances to the collection, at the specified index.
An array of instances to add to the collection.
The location at which to add the new instances.
2
Provides the location of a specified thread within the collection.
The zero-based index that defines the location of the thread within the .
The whose index is retrieved.
2
Inserts a process thread at the specified location in the collection.
The zero-based index indicating the location at which to insert the thread.
The thread to insert into the collection.
2
Gets an index for iterating over the set of process threads.
A that indexes the threads in the collection.
The zero-based index value of the thread in the collection.
2
Deletes a process thread from the collection.
The thread to remove from the collection.
2
Specifies the priority level of a thread.
2
Specifies one step above the normal priority for the associated .
Specifies one step below the normal priority for the associated .
Specifies highest priority. This is two steps above the normal priority for the associated .
Specifies idle priority. This is the lowest possible priority value of all threads, independent of the value of the associated .
Specifies lowest priority. This is two steps below the normal priority for the associated .
Specifies normal priority for the associated .
Specifies time-critical priority. This is the highest priority of all threads, independent of the value of the associated .
Specifies the current execution state of the thread.
1
A state that indicates the thread has been initialized, but has not yet started.
A state that indicates the thread is waiting to use a processor because no processor is free. The thread is prepared to run on the next available processor.
A state that indicates the thread is currently using a processor.
A state that indicates the thread is about to use a processor. Only one thread can be in this state at a time.
A state that indicates the thread has finished executing and has exited.
A state that indicates the thread is waiting for a resource, other than the processor, before it can execute. For example, it might be waiting for its execution stack to be paged in from disk.
The state of the thread is unknown.
A state that indicates the thread is not ready to use the processor because it is waiting for a peripheral operation to complete or a resource to become free. When the thread is ready, it will be rescheduled.
Specifies the reason a thread is waiting.
2
The thread is waiting for event pair high.
The thread is waiting for event pair low.
Thread execution is delayed.
The thread is waiting for the scheduler.
The thread is waiting for a free virtual memory page.
The thread is waiting for a local procedure call to arrive.
The thread is waiting for reply to a local procedure call to arrive.
The thread is waiting for a virtual memory page to arrive in memory.
The thread is waiting for a virtual memory page to be written to disk.
Thread execution is suspended.
The thread is waiting for system allocation.
The thread is waiting for an unknown reason.
The thread is waiting for a user request.
The thread is waiting for the system to allocate virtual memory.