ICorDebug::SetManagedHandler Method
Specifies the event handler object for managed events.
Syntax
HRESULT SetManagedHandler (
[in] ICorDebugManagedCallback *pCallback
);
Parameters
pCallback
[in] A pointer to an ICorDebugManagedCallback object, which is the event handler object.
Remarks
SetManagedHandler
must be called at creation time.
If the ICorDebugManagedCallback
implementation does not contain sufficient interfaces to handle debugging events for the application that is being debugged, SetManagedHandler
returns an HRESULT of E_NOINTERFACE.
Requirements
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: Available since 1.0
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for