WorkerProcessCollection.GetWorkerProcess(Int32) Method

Definition

Gets a worker process by using the specified Windows process identifier.

public:
 Microsoft::Web::Administration::WorkerProcess ^ GetWorkerProcess(int processId);
public Microsoft.Web.Administration.WorkerProcess GetWorkerProcess (int processId);
member this.GetWorkerProcess : int -> Microsoft.Web.Administration.WorkerProcess
Public Function GetWorkerProcess (processId As Integer) As WorkerProcess

Parameters

processId
Int32

The Windows process identifier of the worker process to access.

Returns

The WorkerProcess object associated with the process identifier, if one exists; otherwise, null.

Applies to