ProcessInfo.SetAll Method (DateTime, TimeSpan, Int32, Int32, ProcessStatus, ProcessShutdownReason, Int32)

 

Sets internal information indicating the status of the process.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public void SetAll(
	DateTime startTime,
	TimeSpan age,
	int processID,
	int requestCount,
	ProcessStatus status,
	ProcessShutdownReason shutdownReason,
	int peakMemoryUsed
)

Parameters

startTime
Type: System.DateTime

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

age
Type: System.TimeSpan

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

processID
Type: System.Int32

The ID number assigned to the process.

requestCount
Type: System.Int32

The number of start requests for the process.

status
Type: System.Web.ProcessStatus

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

shutdownReason
Type: System.Web.ProcessShutdownReason

One of the ProcessShutdownReason values.

peakMemoryUsed
Type: System.Int32

The maximum memory used, in kilobytes (KB).

.NET Framework
Available since 1.1
Return to top
Show: