COR_ACTIVE_FUNCTION 结构

包含在线程框架中当前处于活动状态的函数的信息。 此结构由 ICorDebugThread2::GetActiveFunctions 方法使用。

typedef struct  _COR_ACTIVE_FUNCTION {
    ICorDebugAppDomain   *pAppDomain;
    ICorDebugModule      *pModule;
    ICorDebugFunction2   *pFunction;
    ULONG32              ilOffset;
    ULONG32              flags;
} COR_ACTIVE_FUNCTION;

成员

成员

说明

pAppDomain

指向 ilOffset 字段的应用程序域所有者的指针。

pModule

指向 ilOffset 字段的模块所有者的指针。

pFunction

指向 ilOffset 字段的函数所有者的指针。

ilOffset

帧的 Microsoft 中间语言 (MSIL) 偏移量。

flags

保留以用于将来扩展。

要求

**平台:**请参见 .NET Framework 系统要求

**头文件:**CorDebug.idl

**库:**CorGuids.lib

**.NET Framework 版本:**4、3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0

请参见

参考

ICorDebugThread2 接口

ICorDebugFunction2 接口

ICorDebugAppDomain 接口

ICorDebugModule 接口

其他资源

调试结构

调试(非托管 API 参考)