WorkerProcessCollection.GetWorkerProcess(Int32) Method
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.
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
.