ProcessInfo Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
.NET