ProcessInfo Constructor (DateTime, TimeSpan, Int32, Int32, ProcessStatus, ProcessShutdownReason, Int32)
Assembly: System.Web (in system.web.dll)
public: ProcessInfo ( DateTime startTime, TimeSpan age, int processID, int requestCount, ProcessStatus status, ProcessShutdownReason shutdownReason, int peakMemoryUsed )
public ProcessInfo ( DateTime startTime, TimeSpan age, int processID, int requestCount, ProcessStatus status, ProcessShutdownReason shutdownReason, int peakMemoryUsed )
public function ProcessInfo ( startTime : DateTime, age : TimeSpan, processID : int, requestCount : int, status : ProcessStatus, shutdownReason : ProcessShutdownReason, peakMemoryUsed : int )
Parameters
- startTime
A DateTime that indicates the time at which the process started.
- age
The TimeSpan that indicates the time elapsed since the process started.
- processID
The ID number assigned to the process.
- requestCount
The number of start requests for the process.
- status
One of the ProcessStatus values that indicates the current status of the process.
- shutdownReason
One of the ProcessShutdownReason values.
- peakMemoryUsed
The maximum memory used, in kilobytes (KB).
This class returns information about ASP.NET worker processes that are running under the ASP.NET process model. Objects of this type are returned by the static methods ProcessModelInfo.GetCurrentProcessInfo and ProcessModelInfo.GetHistory. These methods are the only useful ways to create an initialized ProcessInfo object.
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.