ProcessModelInfo.GetHistory Method (Int32)


Returns information about recent worker processes.

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

[AspNetHostingPermissionAttribute(SecurityAction.Demand, Level = AspNetHostingPermissionLevel.High)]
public static ProcessInfo[] GetHistory(
	int numRecords


Type: System.Int32

The number of processes for which information is requested.

Return Value

Type: 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

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
Return to top