COR_PRF_TRANSITION_REASON Enumeration
Indicates the reason for a transition from managed to unmanaged code, or vice versa.
Syntax
typedef enum {
COR_PRF_TRANSITION_CALL,
COR_PRF_TRANSITION_RETURN
} COR_PRF_TRANSITION_REASON;
Members
Member | Description |
---|---|
COR_PRF_TRANSITION_CALL |
The transition is due to a call into a function. |
COR_PRF_TRANSITION_RETURN |
The transition is due to a return from a function. |
Remarks
When a transition occurs, the profiler receives an ICorProfilerCallback::ManagedToUnmanagedTransition or ICorProfilerCallback::UnmanagedToManagedTransition callback, either of which provides a value of the COR_PRF_TRANSITION_REASON
enumeration to indicate the reason for the transition.
Requirements
Platforms: See System Requirements.
Header: CorProf.idl, CorProf.h
Library: CorGuids.lib
.NET Framework Versions: Available since 1.0
Cộng tác với chúng tôi trên GitHub
Bạn có thể tìm thấy nguồn cho nội dung này trên GitHub, nơi bạn cũng có thể tạo và xem lại các vấn đề và yêu cầu kéo. Để biết thêm thông tin, hãy xem hướng dẫn dành cho người đóng góp của chúng tôi.
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