WorkerProcessCollection.GetWorkerProcess(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用指定的 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 。