Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Specifies the event handler object for unmanaged events.
Syntax
HRESULT SetUnmanagedHandler (
[in] ICorDebugUnmanagedCallback *pCallback
);
Parameters
pCallback
[in] A pointer to an ICorDebugUnmanagedCallback object that represents the event handler for unmanaged events.
Remarks
The event handler object for unmanaged events must be set after a call to ICorDebug::Initialize and before any calls to ICorDebug::CreateProcess or ICorDebug::DebugActiveProcess. However, for legacy purposes, you are not required to set the event handler object for unmanaged events until the first native debug event is raised. Specifically, if ICorDebug::CreateProcess has set the CREATE_SUSPENDED flag, native debug events cannot be dispatched until the main thread is resumed.
Requirements
Platforms: See .NET supported operating systems.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET versions: Available since .NET Framework 1.0