IRunningObjectTable IRunningObjectTable IRunningObjectTable IRunningObjectTable Interface

定义

提供 IRunningObjectTable 接口的托管定义。Provides the managed definition of the IRunningObjectTable interface.

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

注解

可以通过调用 COM 检索接口的运行对象表GetRunningObjectTable函数。You can retrieve an interface to the running object table by calling the COM GetRunningObjectTable function.

有关详细信息,请参阅 COM 的文档IRunningObjectTable MSDN library 中的接口。For more information, see the documentation for the COM IRunningObjectTable interface in the MSDN library.

在本机代码中的 COM 方法将返回的 HRESULT 时,公共语言运行时将引发异常。The common language runtime throws an exception when a COM method in native code returns an HRESULT. 有关更多信息,请参见 How to: Map HRESULTs and ExceptionsFor more information, see How to: Map HRESULTs and Exceptions.

方法

EnumRunning(IEnumMoniker) EnumRunning(IEnumMoniker) EnumRunning(IEnumMoniker) EnumRunning(IEnumMoniker)

枚举当前注册为运行对象的对象。Enumerates the objects currently registered as running.

GetObject(IMoniker, Object) GetObject(IMoniker, Object) GetObject(IMoniker, Object) GetObject(IMoniker, Object)

如果提供的对象名注册为运行对象,则返回该注册对象。Returns the registered object if the supplied object name is registered as running.

GetTimeOfLastChange(IMoniker, FILETIME) GetTimeOfLastChange(IMoniker, FILETIME) GetTimeOfLastChange(IMoniker, FILETIME) GetTimeOfLastChange(IMoniker, FILETIME)

在运行对象表 (ROT) 中搜索此名字对象并报告所记录的更改时间(如果存在的话)。Searches for this moniker in the Running Object Table (ROT) and reports the recorded time of change, if present.

IsRunning(IMoniker) IsRunning(IMoniker) IsRunning(IMoniker) IsRunning(IMoniker)

确定指定名字对象当前是否在运行对象表 (ROT) 中注册。Determines whether the specified moniker is currently registered in the Running Object Table (ROT).

NoteChangeTime(Int32, FILETIME) NoteChangeTime(Int32, FILETIME) NoteChangeTime(Int32, FILETIME) NoteChangeTime(Int32, FILETIME)

记录特定对象发生更改的时间,以便 IMoniker::GetTimeOfLastChange 可以报告相应更改时间。Notes the time that a particular object changed so IMoniker::GetTimeOfLastChange can report an appropriate change time.

Register(Int32, Object, IMoniker) Register(Int32, Object, IMoniker) Register(Int32, Object, IMoniker) Register(Int32, Object, IMoniker)

注册提供的对象已进入运行状态。Registers that the supplied object has entered the running state.

Revoke(Int32) Revoke(Int32) Revoke(Int32) Revoke(Int32)

从运行对象表 (ROT) 中注销指定的对象。Unregisters the specified object from the Running Object Table (ROT).

适用于