IRunningObjectTable 介面

定義

提供 IRunningObjectTable 介面的 Managed 定義。

public interface class IRunningObjectTable
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IRunningObjectTable
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.Guid("00000010-0000-0000-C000-000000000046")]
public interface IRunningObjectTable
public interface IRunningObjectTable
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IRunningObjectTable = interface
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.Guid("00000010-0000-0000-C000-000000000046")>]
type IRunningObjectTable = interface
type IRunningObjectTable = interface
Public Interface IRunningObjectTable
屬性

備註

您可以呼叫 COM GetRunningObjectTable 函式,以擷取執行中物件資料表的介面。

如需詳細資訊,請參閱 IRunningObjectTable 介面

Common Language Runtime 會在機器碼中的 COM 方法傳回 HRESULT 時擲回例外狀況。 如需詳細資訊,請參閱 How to: Map HRESULTs and Exceptions

方法

EnumRunning(IEnumMoniker)

列舉目前登錄為執行中的物件。

GetObject(IMoniker, Object)

如果提供的物件名稱已登錄為執行中,傳回這個已登錄物件。

GetTimeOfLastChange(IMoniker, FILETIME)

在執行物件表格 (ROT) 中搜尋這個 Moniker,並報告變更的記錄時間 (如果有的話)。

IsRunning(IMoniker)

決定指定的 Moniker 目前是否已在執行物件表格 (ROT) 中登錄。

NoteChangeTime(Int32, FILETIME)

注意特定物件變更的時間,讓 IMoniker::GetTimeOfLastChange 可以報告正確的變更時間。

Register(Int32, Object, IMoniker)

登錄所提供物件已進入執行狀態。

Revoke(Int32)

從執行物件表格 (ROT) 中移除指定物件的登錄。

適用於