ProcessInfo.SetAll(DateTime, TimeSpan, Int32, Int32, ProcessStatus, ProcessShutdownReason, Int32) 方法
定义
设置指示进程状态的内部信息。Sets internal information indicating the status of the process.
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。A DateTime that indicates the time at which the process started.
- age
- TimeSpan
一个 TimeSpan,它指示进程启动后所经过的时间。A TimeSpan that indicates the time elapsed since the process started.
- processID
- Int32
分配给进程的 ID 号。The ID number assigned to the process.
- requestCount
- Int32
进程的启动请求数。The number of start requests for the process.
- status
- ProcessStatus
ProcessStatus 值之一,它指示进程启动后所经过的时间。One of the ProcessStatus values that indicates the time elapsed since the process started.
- shutdownReason
- ProcessShutdownReason
ProcessShutdownReason 值之一。One of the ProcessShutdownReason values.
- peakMemoryUsed
- Int32
使用的最大内存,以千字节 (KB) 为单位。The maximum memory used, in kilobytes (KB).