ICorProfilerInfo::SetFunctionIDMapper Method
Specifies the profiler-implemented function that will be called to map FunctionID
values to alternative values, which are passed to the profiler's function entry/exit hooks.
Syntax
HRESULT SetFunctionIDMapper (
[in] FunctionIDMapper *pFunc);
Parameters
pFunc
[in] A pointer to the FunctionIDMapper implementation that will be called to map the FunctionID
values to their alternative values.
Remarks
The alternatives for the FunctionID
values will be passed to the profiler's function entry/exit hooks (FunctionEnter2, FunctionLeave2, and FunctionTailcall2) that are specified by the ICorProfilerInfo2::SetEnterLeaveFunctionHooks2 method.
The FunctionIDMapper
can be set only once and it is recommended that you set it in the ICorProfilerCallback::Initialize callback.
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