ProcessModelInfo::GetHistory Method (Int32)
.NET Framework (current version)
Returns information about recent worker processes.
Assembly: System.Web (in System.Web.dll)
public: [AspNetHostingPermissionAttribute(SecurityAction::Demand, Level = AspNetHostingPermissionLevel::High)] static array<ProcessInfo^>^ GetHistory( int numRecords )
Parameters
- numRecords
-
Type:
System::Int32
The number of processes for which information is requested.
Return Value
Type: array<System.Web::ProcessInfo^>^An array of the most recent ProcessInfo objects (up to 100); otherwise, if the number of available objects is less than numRecords, all available objects.
| Exception | Condition |
|---|---|
| HttpException | Process information is not available. |
The GetHistory method is applicable only for applications that are running under the ASP.NET process model.
.NET Framework
Available since 1.1
Available since 1.1
Show: