Edit

Share via


ProcessInfo Constructors

Definition

Initializes a new instance of the ProcessInfo class.

Overloads

ProcessInfo()

Initializes a new instance of the ProcessInfo class.

ProcessInfo(DateTime, TimeSpan, Int32, Int32, ProcessStatus, ProcessShutdownReason, Int32)

Initializes a new instance of the ProcessInfo class and sets internal information indicating the status of the process.

ProcessInfo()

Initializes a new instance of the ProcessInfo class.

public:
 ProcessInfo();
public ProcessInfo ();
Public Sub New ()

Remarks

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.

Applies to

ProcessInfo(DateTime, TimeSpan, Int32, Int32, ProcessStatus, ProcessShutdownReason, Int32)

Initializes a new instance of the ProcessInfo class and sets internal information indicating the status of the process.

public:
 ProcessInfo(DateTime startTime, TimeSpan age, int processID, int requestCount, System::Web::ProcessStatus status, System::Web::ProcessShutdownReason shutdownReason, int peakMemoryUsed);
public ProcessInfo (DateTime startTime, TimeSpan age, int processID, int requestCount, System.Web.ProcessStatus status, System.Web.ProcessShutdownReason shutdownReason, int peakMemoryUsed);
new System.Web.ProcessInfo : DateTime * TimeSpan * int * int * System.Web.ProcessStatus * System.Web.ProcessShutdownReason * int -> System.Web.ProcessInfo
Public Sub New (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

The 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 current status of the process.

shutdownReason
ProcessShutdownReason

One of the ProcessShutdownReason values.

peakMemoryUsed
Int32

The maximum memory used, in kilobytes (KB).

Remarks

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.

Applies to