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

TimeSpan A表示自程序開始以來已過的時間。

processID
Int32

分配給流程的ID號碼。

requestCount
Int32

程序的啟動請求數量。

status
ProcessStatus

ProcessStatus其中一個數值表示自程序開始以來已過的時間。

shutdownReason
ProcessShutdownReason

這是其中一項 ProcessShutdownReason 價值。

peakMemoryUsed
Int32

最大記憶體使用量,以千位元組(KB)為單位。

適用於