System.Diagnostics.Process
[SECURITY CRITICAL] 为一个进程句柄提供托管包装。
[SECURITY CRITICAL] 初始化的新实例从,该值指示是否在终结阶段释放该句柄指定的句柄的类。
要包装的句柄。
true若要可靠地让在终结阶段 ; 释放该句柄否则为false。
为 和 事件提供数据。
2
获取写入到重定向 输出流的字符行。
由关联的 写入到其重定向 或 流中的行。
2
表示将要处理 的 事件或 事件的方法。
事件源。
包含事件数据的 。
2
提供对本地和远程进程的访问权限并使你能够启动和停止本地系统进程。若要浏览此类型的 .NET Framework 源代码,请参阅引用源。
1
初始化 类的新实例。
获取关联进程的基本优先级。
基本优先级别,它从关联进程的 计算。
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
在应用程序的重定向 流上开始进行异步读取操作。
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
在应用程序的重定向 流上开始进行异步读取操作。
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
取消在应用程序的重定向 流上执行的异步读取操作。
The stream is not enabled for asynchronous read operations.
2
取消在应用程序的重定向 流上执行的异步读取操作。
The stream is not enabled for asynchronous read operations.
2
释放此进程使用的所有资源。
若要释放托管资源和非托管资源,则为 true;若仅释放非托管资源,则为 false。
获取或设置在进程终止时是否应激发 事件。
如果关联的进程终止(通过退出或者调用 )时应引发 事件,则为 true;否则为 false。默认值为 false。
2
通过启用当前线程的本机属性 SeDebugPrivilege,将 组件置于与以特殊模式运行的操作系统进程交互的状态。
2
当应用程序写入其重定向 流中时发生。
2
获取关联进程终止时指定的值。
关联进程终止时指定的代码。
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
在进程退出时发生。
2
获取关联进程退出的时间。
,它指示关联进程终止的时间。
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
获取新的 组件并将其与当前活动的进程关联。
与运行调用应用程序的进程资源关联的新的 组件。
1
返回新的 组件(给定本地计算机上某个进程的标识符)。
一个与 参数标识的本地进程资源关联的 组件。
进程资源的系统唯一标识符。
The process specified by the parameter is not running.The identifier might be expired.
The process was not started by this object.
1
返回新的 组件(给定进程标识符和网络中计算机的名称)。
一个与 参数标识的远程进程资源关联的 组件。
进程资源的系统唯一标识符。
网络上计算机的名称。
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
为本地计算机上的每个进程资源创建一个新的 组件。
类型的数组,它表示本地计算机上运行的所有进程资源。
1
为指定计算机上的每个进程资源创建一个新的 组件。
类型的数组,表示指定计算机上运行的所有进程资源。
从其中读取进程列表的计算机。
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
创建新的 组件的数组,并将它们与本地计算机上共享指定的进程名称的所有进程资源关联。
类型的数组,表示运行指定应用程序或文件的进程资源。
该进程的友好名称。
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
创建新的 组件的数组,并将它们与远程计算机上共享指定进程名称的所有进程资源关联。
类型的数组,表示运行指定应用程序或文件的进程资源。
该进程的友好名称。
网络上计算机的名称。
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
获取指示关联进程是否已终止的值。
如果 组件引用的操作系统进程已终止,则为 true;否则为 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
获取关联进程的唯一标识符。
此 实例引用的、由系统生成的进程的唯一标识符。
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
立即停止关联的进程。
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
使 组件离开允许它与以特殊模式运行的操作系统进程交互的状态。
2
获取关联进程正在其上运行的计算机的名称。
关联进程正在其上运行的计算机的名称。
There is no process associated with this object.
1
获取关联进程的主模块。
用于启动进程的 。
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
获取或设置关联进程的允许的最大工作集大小。
内存中允许的进程的最大工作集大小(以字节为单位)。
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
获取或设置关联进程的允许的最小工作集大小。
内存中进程所需的最小工作集大小(以字节为单位)。
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
获取已由关联进程加载的模块。
类型的数组,它表示已由关联进程加载的模块。
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
获取为关联的进程分配的非分页系统内存量。
为关联的进程分配的、不能写入虚拟内存分页文件中的系统内存量(以字节为单位)。
The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.
2
引发 事件。
每次应用程序向其重定向 流中写入行时发生。
2
获取为关联的进程分配的分页内存量。
在虚拟内存分页文件中为关联进程分配的内存量(以字节为单位)。
The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.
2
获取为关联进程分配的可分页系统内存量。
为可写入虚拟内存分页文件的关联内存分配的系统内存量(以字节为单位)。
The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.
2
获取关联的进程使用的虚拟内存分页文件中的最大内存量。
从启动关联的进程以来在为虚拟内存分页文件中关联进程分配的最大内存量(以字节为单位)。
The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.
2
获取关联进程使用的最大虚拟内存量。
从关联进程启动以来为关联进程分配的最大虚拟内存量(以字节为单位)。
The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.
2
获取关联进程使用的最大物理内存量。
从启动关联进程以来为关联进程分配的最大物理内存量(以字节为单位)。
The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.
2
获取或设置一个值,该值指示主窗口拥有焦点时是否应由操作系统暂时提升关联进程优先级。
如果进程离开等待状态时应动态提升进程优先级别,则为 true;否则为 false。默认值为 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
获取或设置关联进程的总体优先级类别。
关联进程的优先级别类别,可从该类别计算进程的 。
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
获取为关联进程分配的专用内存量。
为关联进程分配的不能与其他进程共享的内存量(以字节为单位)。
The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.
2
获取此进程的特权处理器时间。
,它指示进程在操作系统内核中运行代码所用的时间。
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
获取该进程的名称。
系统用以向用户标识该进程的名称。
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
获取或设置一些处理器,此进程中的线程可以按计划在这些处理器上运行。
位掩码,表示关联进程内的线程可以在其上运行的处理器。默认值取决于计算机上的处理器数。默认值为 2 n -1,其中 n 是处理器数。
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
放弃已缓存到进程组件的关联仅存的任何相关信息。
1
获取此进程的本机句柄。
此进程的本机句柄。
获取关联进程的终端服务会话标识符。
关联进程的终端服务会话标识符。
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
获取用于读取应用程序错误输出的流。
一个 ,可用于读取应用程序的标准错误流。
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
获取用于写入应用程序输入的流。
,可用于写入应用程序的标准输入流。
The stream has not been defined because is set to false.
1
获取用于读取应用程序文本输出的流。
,可用于读取应用程序的标准输出流。
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
启动(或重用)此 组件的 属性指定的进程资源,并将其与该组件关联。
如果启动了进程资源,则为 true;如果没有启动新的进程资源(例如,如果重用了现有进程),则为 false。
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
启动由包含进程启动信息(例如,要启动的进程的文件名)的参数指定的进程资源,并将该资源与新的 组件关联。
一个与进程资源关联的新 ,如果未启动进程资源,则为 null。请注意,随着同一进程已在运行的实例启动的新进程将独立于其他进程。此外,启动可能返回一个 属性已设置为 true 的非 null 进程。在这种情况下,启动的进程可能已激活现有实例自身,然后退出。
,包含用于启动进程的信息(包括文件名和任何命令行参数)。
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
通过指定文档或应用程序文件的名称来启动进程资源,并将资源与新的 组件关联。
一个与进程资源关联的新 ,如果未启动进程资源,则为 null。请注意,随着同一进程已在运行的实例启动的新进程将独立于其他进程。此外,启动可能返回一个 属性已设置为 true 的非 null 进程。在这种情况下,启动的进程可能已激活现有实例自身,然后退出。
要在进程中运行的文档或应用程序文件的名称。
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
通过指定应用程序的名称和一组命令行参数来启动一个进程资源,并将该资源与新的 组件相关联。
一个与进程资源关联的新 ,如果未启动进程资源,则为 null。请注意,随着同一进程已在运行的实例启动的新进程将独立于其他进程。此外,启动可能返回一个 属性已设置为 true 的非 null 进程。在这种情况下,启动的进程可能已激活现有实例自身,然后退出。
要在进程中运行的应用程序文件的名称。
启动该进程时传递的命令行参数。
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
通过指定应用程序的名称、用户名、密码和域来启动一个进程资源,并将该资源与新的 组件关联起来。
一个与进程资源关联的新 ,如果未启动进程资源,则为 null。请注意,随着同一进程已在运行的实例启动的新进程将独立于其他进程。此外,启动可能返回一个 属性已设置为 true 的非 null 进程。在这种情况下,启动的进程可能已激活现有实例自身,然后退出。
要在进程中运行的应用程序文件的名称。
启动进程时使用的用户名。
一个 ,它包含启动进程时要使用的密码。
启动进程时要使用的域。
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
通过指定应用程序的名称、一组命令行参数、用户名、密码和域来启动一个进程资源,并将该资源与新的 组件关联起来。
一个与进程资源关联的新 ,如果未启动进程资源,则为 null。请注意,随着同一进程已在运行的实例启动的新进程将独立于其他进程。此外,启动可能返回一个 属性已设置为 true 的非 null 进程。在这种情况下,启动的进程可能已激活现有实例自身,然后退出。
要在进程中运行的应用程序文件的名称。
启动该进程时传递的命令行参数。
启动进程时使用的用户名。
一个 ,它包含启动进程时要使用的密码。
启动进程时要使用的域。
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
获取或设置要传递给 的 方法的属性。
,它表示启动该进程时要使用的数据。这些参数包括用于启动该进程的可执行文件或文档的名称。
The value that specifies the is null.
1
获取关联进程启动的时间。
指示进程启动的时间的对象。如果进程未运行,将会引发异常。
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
获取在关联进程中运行的一组线程。
类型的数组,它表示当前在关联进程中运行的操作系统线程。
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
获取此进程的总的处理器时间。
,它指示关联进程使用 CPU 的时间。此值是 和 的和。
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
获取此进程的用户处理器时间。
,它指示关联进程在该进程的应用程序部分内(而不是在操作系统内核中)运行代码所用的时间。
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
获取为关联进程分配的虚拟内存量。
为关联进程分配的虚拟内存量(以字节为单位)。
The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.
2
指示 组件无限期地等待关联进程退出。
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
指示 组件在指定的毫秒数内等待关联进程退出。
如果关联进程已退出,则为 true;否则为 false。
等待关联进程退出的时间(以毫秒为单位)。最大值为 32 位整数的最大可能值,这对于操作系统而言表示无限大。
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
获取为关联进程分配的物理内存量。
为关的进程分配的物理内存量(以字节为单位)。
The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.
2
表示加载到特定进程中的 .dll 或 .exe 文件。
2
获取加载模块的内存地址。
模块的加载地址。
2
获取在系统加载和运行模块时运行的函数的内存地址。
模块的入口点。
2
获取模块的完整路径。
定义模块位置的完全限定路径。
2
获取加载模块所需内存量。
模块占用的内存大小(以字节为单位)。
2
获取进程模块的名称。
模块的名称。
2
将模块的名称转换为字符串。
属性的值。
2
提供 对象的强类型集合。
2
在没有关联的 实例的情况下,初始化 类的新实例。
使用指定的 实例数组来初始化 类的新实例。
用来初始化该 实例的 实例的数组。
确定集合中是否存在指定的进程模块。
如果集合中存在该模块,则为 true;否则为 false。
一个 实例,它指示要该集合中查找的模块。
2
将 实例的数组复制到集合的指定索引处。
要添加到集合的 实例的数组。
要添加新实例的位置。
2
提供指定模块在集合中的位置。
从零开始的索引,它定义模块在 中的位置。
检索其索引的 。
2
获取用于循环访问进程模块集的索引。
一个 ,它对集合中的模块进行索引
集合中该模块的从零开始的索引值。
2
指示系统将与进程关联的优先级。此值与进程的每个线程的优先级值一起来确定每个线程的基本优先级别。
2
指定进程的优先级在 Normal 之上,但在 之下。
指定进程的优先级在 Idle 之上,但在 Normal 之下。
指定进程执行必须立即执行的时间关键任务,如 Task List 对话框,不管操作系统的负荷如何,用户调用该对话框后均必须迅速响应。该进程的线程优先于普通或空闲优先级类进程的线程。
指定此进程的线程只能在系统空闲时运行,如屏幕保护程序。更高优先级类中运行的任何进程的线程都优先于此进程的线程。
指定进程没有特殊的安排需求。
指定进程拥有可能的最高优先级。
指定启动进程时使用的一组值。
2
初始化 类的新实例,而不指定启动进程时使用的文件名。
初始化 类的新实例,并指定启动进程时使用的诸如应用程序或文档的文件名。
启动进程时使用的应用程序或文档。
初始化 类的新实例,指定启动该进程时使用的应用程序文件名以及要传递给该应用程序的一组命令行参数。
启动进程时使用的应用程序。
进程启动时要传递给应用程序的命令行参数。
获取或设置启动应用程序时要使用的一组命令行参数。
单个字符串包含要传递给在 属性中指定的目标应用程序的参数。默认值为空字符串 ("")。在 Windows Vista 和早期的 Windows 操作系统上,添加至进程全径的长度的参数长度必须小于 2080。在 Windows 7 和更高版本,此长度必须小于 32699。参数由目标应用程序进行分析和解释,因此必须与该应用程序的预期保持一致。对于以下示例中所演示的 .NET 的应用程序,空格被解释为多个参数之间的分隔符。包含空格的单个参数必须用引号引起来,但这些引号不会传递到目标应用程序。在包括引号在内的最终已分析的参数中,每个标记均会进行三重转义。
1
获取或设置指示是否在新窗口中启动该进程的值。
如果应启动该进程而不创建包含它的新窗口,则为 true;否则为 false。默认值为 false。
2
获取或设置一个值,该值标识要在启动进程时使用的域。
要在启动进程时使用的 Active Directory 域。域属性主要与使用 Active Directory 的企业级环境内的用户相关。
1
获取或设置要启动的应用程序或文档。
要启动的应用程序的名称或某文件类型的文档的名称,该文件类型与应用程序关联并且拥有可用的默认打开操作。默认值为空字符串 ("")。
1
获取或设置一个值,该值指示是否从注册表加载 Windows 用户配置文件。
如果应加载 Windows 用户概况,则为 true;否则为 false。默认值为 false。
1
获取或设置一个安全字符串,其中包含要在启动进程时使用的用户密码。
启动进程时使用的用户密码。
1
获取或设置一个值,该值指示是否将应用程序的错误输出写入 流中。
如果错误输出应写入 ,则为 true;否则为 false。默认值为 false。
2
获取或设置一个值,该值指示应用程序的输入是否从 流中读取。
如果应从 读取输入,则为 true;否则为 false。默认值为 false。
2
获取或设置一个值,该值指示是否将应用程序的输出写入 流中。
如果输出应写入 ,则为 true;否则为 false。默认值为 false。
2
获取或设置错误输出的首选编码。
一个对象,表示错误输出的首选编码。默认值为 null。
获取或设置标准输出的首选编码。
一个对象,表示标准输出的首选编码。默认值为 null。
获取或设置在启动进程时使用的用户名。
启动进程时使用的用户名。
1
获取或设置一个值,该值指示是否使用操作系统 shell 启动进程。
如果应在启动进程时使用 shell,则为 true;如果直接从可执行文件创建进程,则为 false。默认值为 true。
2
当 属性为 false 时,将获取或设置要启动的进程的工作目录。当 为 true 时,获取或设置包含要启动的进程的目录。
当 为 true 时,是包含要启动的进程的目录的完全限定名。当 属性为 false 时,则为要启动的进程的工作目录。默认值为空字符串 ("")。
1
表示操作系统进程线程。
2
获取线程的基本优先级。
线程的基本优先级,它由操作系统通过将进程优先级类与关联线程的优先级别相结合进行计算。
2
获取线程的当前优先级。
线程的当前优先级,可根据操作系统如何安排该线程而偏离基本优先级。可为活动线程暂时提升优先级。
2
获取线程的唯一标识符。
与指定线程关联的唯一标识符。
2
设置让此线程在其上运行的首选处理器。
线程的首选处理器,用来在系统安排线程时确定在哪个处理器上运行线程。
系统未能设置线程在指定的处理器上启动。
平台为 Windows 98 或 Windows Millennium Edition。
进程在远程计算机上。
2
获取或设置一个值,该值指示每当关联线程的进程主窗口接收焦点时,操作系统是否暂时提升该线程的优先级。
若要在用户与进程的界面交互时提升线程的优先级,则为 true;否则为 false。默认值为 false。
未能检索到优先级提升信息。- 或 -未能设置优先级提升信息。
平台为 Windows 98 或 Windows Millennium Edition。
进程在远程计算机上。
2
获取或设置线程的优先级别。
值之一,它指定限制线程优先级的范围。
未能检索到线程优先级别信息。- 或 -未能设置线程优先级别。
平台为 Windows 98 或 Windows Millennium Edition。
进程在远程计算机上。
2
获取线程在操作系统内核中运行代码所用的时间。
,它指示线程在操作系统内核中运行代码所用的时间。
未能检索到线程时间。
平台为 Windows 98 或 Windows Millennium Edition。
进程在远程计算机上。
2
设置关联线程可以在其上运行的处理器。
指向一组位的 ,每个位表示该线程可在其上运行的一个处理器。
未能设置处理器关联。
平台为 Windows 98 或 Windows Millennium Edition。
进程在远程计算机上。
2
重置此线程的理想处理器,以指示没有单个的理想处理器。换言之,任何处理器都是理想处理器。
未能重置理想处理器。
平台为 Windows 98 或 Windows Millennium Edition。
进程在远程计算机上。
2
获取操作系统调用的、启动此线程的函数的内存地址。
线程的起始地址,它指向线程执行的应用程序定义的函数。
平台为 Windows 98 或 Windows Millennium Edition。
进程在远程计算机上。
2
获取操作系统启动该线程的时间。
,它表示操作系统启动该线程时系统上的时间。
未能检索到线程时间。
平台为 Windows 98 或 Windows Millennium Edition。
进程在远程计算机上。
2
获取此线程的当前状态。
指示线程执行情况的 (例如运行、等待或终止)。
平台为 Windows 98 或 Windows Millennium Edition。
进程在远程计算机上。
2
获取此线程使用处理器的时间总量。
,它指示线程控制处理器的时间。
未能检索到线程时间。
平台为 Windows 98 或 Windows Millennium Edition。
进程在远程计算机上。
2
获取关联的线程在应用程序内运行代码所用的时间。
,它指示线程在应用程序内(相对于在操作系统内核中)运行代码所用的时间。
未能检索到线程时间。
平台为 Windows 98 或 Windows Millennium Edition。
进程在远程计算机上。
2
获取线程等待的原因。
一个 ,表示线程处于等待状态的原因。
线程不在等待状态。
平台为 Windows 98 或 Windows Millennium Edition。
进程在远程计算机上。
2
提供 对象的强类型集合。
2
在没有关联的 实例的情况下,初始化 类的新实例。
使用指定的 实例数组来初始化 类的新实例。
用来初始化该 实例的 实例的数组。
将进程线程附加到集合。
集合中线程的从零开始的索引。
要添加到集合中的线程。
2
确定集合中是否存在指定的进程线程。
如果集合中存在该线程,则为 true;否则为 false。
一个 实例,它指示要在该集合中查找的线程。
2
将 实例的数组复制到集合的指定索引处。
要添加到集合的 实例的数组。
要添加新实例的位置。
2
提供指定线程在集合中的位置。
从零开始的索引,它定义线程在 中的位置。
检索其索引的 。
2
在集合中的指定位置插入进程线程。
从零开始的索引,指示插入线程的位置。
要插入到集合中的线程。
2
获取用于循环访问进程线程集的索引。
一个 ,它对集合中的线程进行索引。
集合中该值的从零开始的索引。
2
从集合中删除进程线程。
要从该集合中移除的线程。
2
指定线程的优先级别。
2
指定的优先级比关联的 的普通优先级高一级。
指定的优先级比关联的 的普通优先级低一级。
指定最高优先级。这比关联的 的普通优先级高两级。
指定空闲优先级。它是所有线程的可能的最低优先级值,与关联的 的值无关。
指定最低优先级。这比关联的 的普通优先级低两级。
指定关联的 的普通优先级。
指定时间关键优先级。这是所有线程中的最高优先级,与关联的 的值无关。
指定线程的当前执行状态。
1
此状态指示线程已初始化但尚未启动。
此状态指示线程因无可用的处理器而等待使用处理器。线程准备在下一个可用的处理器上运行。
此状态指示线程当前正在使用处理器。
此状态指示线程将要使用处理器。一次只能有一个线程处于此状态。
此状态指示线程已完成执行并已退出。
此状态指示线程在可以执行前等待处理器之外的资源。例如,它可能正在等待其执行堆栈从磁盘中分页。
线程的状态未知。
此状态指示线程尚未准备好使用处理器,因为它正在等待外围操作完成或等待资源释放。当线程就绪后,将对其进行重排。
指定线程等待的原因。
2
线程正在等待事件对高。
线程正在等待事件对低。
线程执行延迟。
线程正在等待计划程序。
线程正在等待可用的虚拟内存页。
线程正在等待本地过程调用到达。
线程正在等待对本地过程调用的回复到达。
线程正在等待虚拟内存页到达内存。
线程正在等待虚拟内存页写入磁盘。
线程执行暂停。
线程正在等待系统分配。
线程正在因未知原因而等待。
线程正在等待用户请求。
线程正在等待系统分配虚拟内存。