IRunningObjectTable 接口

定义

提供 IRunningObjectTable 接口的托管定义。

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 接口

当本机代码中的 COM 方法返回 HRESULT 时,公共语言运行时将引发异常。 有关更多信息,请参见 How to: Map HRESULTs and Exceptions

方法

EnumRunning(IEnumMoniker)

枚举当前注册为运行对象的对象。

GetObject(IMoniker, Object)

如果提供的对象名注册为运行对象,则返回该注册对象。

GetTimeOfLastChange(IMoniker, FILETIME)

在运行对象表 (ROT) 中搜索此名字对象并报告所记录的更改时间(如果存在的话)。

IsRunning(IMoniker)

确定指定名字对象当前是否在运行对象表 (ROT) 中注册。

NoteChangeTime(Int32, FILETIME)

记录特定对象发生更改的时间,以便 IMoniker::GetTimeOfLastChange 可以报告相应更改时间。

Register(Int32, Object, IMoniker)

注册提供的对象已进入运行状态。

Revoke(Int32)

从运行对象表 (ROT) 中注销指定的对象。

适用于