ProcessInfo.SetAll 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定內部資訊以指示程序狀態。
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)
參數
- processID
- Int32
分配給流程的ID號碼。
- requestCount
- Int32
程序的啟動請求數量。
- status
- ProcessStatus
ProcessStatus其中一個數值表示自程序開始以來已過的時間。
- shutdownReason
- ProcessShutdownReason
這是其中一項 ProcessShutdownReason 價值。
- peakMemoryUsed
- Int32
最大記憶體使用量,以千位元組(KB)為單位。