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 时,公共语言运行时将引发异常。 有关详细信息,请参阅 如何:映射 HRESULT 和异常

方法

名称 说明
EnumRunning(IEnumMoniker)

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

GetObject(IMoniker, Object)

如果提供的对象名称注册为正在运行,则返回已注册的对象。

GetTimeOfLastChange(IMoniker, FILETIME)

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

IsRunning(IMoniker)

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

NoteChangeTime(Int32, FILETIME)

记下特定对象更改的时间,以便 IMoniker::GetTimeOfLastChange 报告适当的更改时间。

Register(Int32, Object, IMoniker)

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

Revoke(Int32)

从“正在运行的对象表”(ROT)取消注册指定的对象。

适用于