WorkerProcessCollection.GetWorkerProcess(Int32) 方法

定義

使用指定的 Windows 進程識別碼取得背景工作進程。

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

參數

processId
Int32

要存取之背景工作進程的 Windows 進程識別碼。

傳回

如果進程識別碼存在,則 WorkerProcess 與進程識別碼相關聯的 物件,否則為 null

適用於