ProcessInfo.SetAll Method

Definition

Sets internal information indicating the status of the process.

C#
public void SetAll(DateTime startTime, TimeSpan age, int processID, int requestCount, System.Web.ProcessStatus status, System.Web.ProcessShutdownReason shutdownReason, int peakMemoryUsed);

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

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1