IRunningObjectTable 接口
定义
提供 IRunningObjectTable 接口的托管定义。Provides the managed definition of the IRunningObjectTable interface.
public interface class IRunningObjectTable
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IRunningObjectTable
public interface IRunningObjectTable
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.Guid("00000010-0000-0000-C000-000000000046")]
public interface IRunningObjectTable
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IRunningObjectTable = interface
type IRunningObjectTable = interface
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.Guid("00000010-0000-0000-C000-000000000046")>]
type IRunningObjectTable = interface
Public Interface IRunningObjectTable
- 属性
注解
可以通过调用 COM GetRunningObjectTable 函数来检索正在运行的对象表的接口。You can retrieve an interface to the running object table by calling the COM GetRunningObjectTable function.
有关详细信息,请参阅 IRunningObjectTable 接口。For more information, see IRunningObjectTable interface.
当本机代码中的 COM 方法返回 HRESULT 时,公共语言运行时将引发异常。The common language runtime throws an exception when a COM method in native code returns an HRESULT. 有关更多信息,请参见 How to: Map HRESULTs and Exceptions。For more information, see How to: Map HRESULTs and Exceptions.
方法
| EnumRunning(IEnumMoniker) |
枚举当前注册为运行对象的对象。Enumerates the objects currently registered as running. |
| GetObject(IMoniker, Object) |
如果提供的对象名注册为运行对象,则返回该注册对象。Returns the registered object if the supplied object name is registered as running. |
| 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) |
确定指定名字对象当前是否在运行对象表 (ROT) 中注册。Determines whether the specified moniker is currently registered in the Running Object Table (ROT). |
| NoteChangeTime(Int32, FILETIME) |
记录特定对象发生更改的时间,以便 |
| Register(Int32, Object, IMoniker) |
注册提供的对象已进入运行状态。Registers that the supplied object has entered the running state. |
| Revoke(Int32) |
从运行对象表 (ROT) 中注销指定的对象。Unregisters the specified object from the Running Object Table (ROT). |