This topic has not yet been rated - Rate this topic

COR_PRF_TRANSITION_REASON Enumeration

Indicates the reason for a transition from managed to unmanaged code, or vice versa.

typedef enum {
    COR_PRF_TRANSITION_CALL,
    COR_PRF_TRANSITION_RETURN
} COR_PRF_TRANSITION_REASON;

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.

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.

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.