Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ICorDebugManagedCallback::ExitProcess Method

Notifies the debugger that a process has exited.

HRESULT ExitProcess (
    [in] ICorDebugProcess *pProcess
);
pProcess

[in] A pointer to an ICorDebugProcess object that represents the process.

You cannot continue from an ExitProcess event. This event may fire asynchronously to other events while the process appears to be stopped. This can occur if the process terminates while stopped, usually due to some external force.

If the common language runtime (CLR) is already dispatching a managed callback, this event will be delayed until after that callback has returned.

The ExitProcess event is the only exit/unload event that is guaranteed to get called on shutdown.

Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

Show:
© 2014 Microsoft. All rights reserved.