แก้ไข

แชร์ผ่าน


ProcessInfo.SetAll Method

Definition

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)

Parameters

startTime
DateTime

A DateTime that indicates the time at which the process started.

age
TimeSpan

A TimeSpan that indicates the time elapsed since the process started.

processID
Int32

The ID number assigned to the process.

requestCount
Int32

The number of start requests for the process.

status
ProcessStatus

One of the ProcessStatus values that indicates the time elapsed since the process started.

shutdownReason
ProcessShutdownReason

One of the ProcessShutdownReason values.

peakMemoryUsed
Int32

The maximum memory used, in kilobytes (KB).

Applies to