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

指示进程启动的时间的 A DateTime

age
TimeSpan

指示自进程启动以来经过的时间的 A TimeSpan

processID
Int32

分配给进程的 ID 号。

requestCount
Int32

进程的启动请求数。

status
ProcessStatus

一个 ProcessStatus 值,该值指示自进程启动以来经过的时间。

shutdownReason
ProcessShutdownReason

其中一个 ProcessShutdownReason 值。

peakMemoryUsed
Int32

使用的最大内存(以 KB 为单位)。

适用于