WorkerProcess Class2

Represents a Windows Process Activation Service (WAS) worker process (w3wp.exe).

Syntax

class WorkerProcess : Object  

Methods

The following table lists the methods exposed by the WorkerProcess class.

Name Description
GetExecutingRequests Gets the requests that are currently assigned to a worker process.
GetState Returns the run-time state of a worker process.

Properties

The following table lists the properties exposed by the WorkerProcess class.

Name Description
AppPoolName A read-only string that contains the name of the application pool to which the worker process belongs. The default is "DefaultAppPool".
GUID A read-only string that contains the GUID for the worker process.
ProcessID A read-only uint32 that contains the worker process ID. The only key property.

Subclasses

This class contains no subclasses.

Inheritance Hierarchy

Object

WorkerProcess

Requirements

Type Description
Client - IIS 7.0 on Windows Vista
- IIS 7.5 on Windows 7
- IIS 8.0 on Windows 8
- IIS 10.0 on Windows 10
Server - IIS 7.0 on Windows Server 2008
- IIS 7.5 on Windows Server 2008 R2
- IIS 8.0 on Windows Server 2012
- IIS 8.5 on Windows Server 2012 R2
- IIS 10.0 on Windows Server 2016
Product - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
MOF file WebAdministration.mof

See Also

Object Class