नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
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 .NET supported operating systems.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET versions: Available since .NET Framework 1.0