ICorDebugManagedCallback::CreateProcess 方法

首次附加或启动进程时通知调试程序。

语法

HRESULT CreateProcess (
    [in] ICorDebugProcess *pProcess
);

参数

pProcess [in]指向 ICorDebugProcess 对象的指针,该对象表示已附加或启动的进程。

注解

在初始化公共语言运行时之前,不会调用此方法。 大多数 ICorDebug 方法将在 CreateProcess 回调之前返回 CORDBG_E_NOTREADY。

要求

平台:请参阅系统要求

标头:CorDebug.idl、CorDebug.h

库:CorGuids.lib

.NET Framework 版本:自 1.0 起可用

请参阅