ProcessInfo.SetAll 方法

定义

设置指示进程状态的内部信息。

public:
 void SetAll(DateTime startTime, TimeSpan age, int processID, int requestCount, System::Web::ProcessStatus status, System::Web::ProcessShutdownReason shutdownReason, int peakMemoryUsed);
public void SetAll (DateTime startTime, TimeSpan age, int processID, int requestCount, System.Web.ProcessStatus status, System.Web.ProcessShutdownReason shutdownReason, int peakMemoryUsed);
member this.SetAll : DateTime * TimeSpan * int * int * System.Web.ProcessStatus * System.Web.ProcessShutdownReason * int -> unit
Public Sub SetAll (startTime As DateTime, age As TimeSpan, processID As Integer, requestCount As Integer, status As ProcessStatus, shutdownReason As ProcessShutdownReason, peakMemoryUsed As Integer)

参数

startTime
DateTime

指示进程启动时间的 DateTime

age
TimeSpan

一个 TimeSpan,它指示进程启动后所经过的时间。

processID
Int32

分配给进程的 ID 号。

requestCount
Int32

进程的启动请求数。

status
ProcessStatus

ProcessStatus 值之一,它指示进程启动后所经过的时间。

shutdownReason
ProcessShutdownReason

ProcessShutdownReason 值之一。

peakMemoryUsed
Int32

使用的最大内存,以千字节 (KB) 为单位。

适用于