ICorProfilerCallback::COMClassicVTableDestroyed Method
Notifies the profiler that a COM interop vtable is being destroyed.
Note
This callback is likely never to occur, because the destruction of vtables occurs very close to shutdown.
Syntax
HRESULT COMClassicVTableDestroyed(
[in] ClassID wrappedClassId,
[in] REFGUID implementedIID,
[in] void *pVTable);
Parameters
wrappedClassId
[in] The ID of the class for which this vtable was created.
implementedIID
[in] The ID of the interface implemented by the class. This value may be NULL if the interface is internal only.
pVTable
[in] A pointer to the start of the vtable.
Remarks
The profiler should not block in its implementation of this method because the stack may not be in a state that allows garbage collection, and therefore preemptive garbage collection cannot be enabled. If the profiler blocks here and garbage collection is attempted, the runtime will block until this callback returns.
The profiler's implementation of this method should not call into managed code or in any way cause a managed-memory allocation.
Requirements
Platforms: See System Requirements.
Header: CorProf.idl, CorProf.h
Library: CorGuids.lib
.NET Framework Versions: Available since 2.0
See also
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho