Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
Describes why an exported function calls managed code.
Syntax
typedef enum CorDebugCodeInvokePurpose
{
CODE_INVOKE_PURPOSE_NONE,
CODE_INVOKE_PURPOSE_NATIVE_TO_MANAGED_TRANSITION,
CODE_INVOKE_PURPOSE_CLASS_INIT,
CODE_INVOKE_PURPOSE_INTERFACE_DISPATCH,
} CorDebugCodeInvokePurpose;
Members
| Member | Description |
|---|---|
CODE_INVOKE_PURPOSE_NONE |
None or unknown. |
CODE_INVOKE_PURPOSE_NATIVE_TO_MANAGED_TRANSITION |
The managed code will run any managed entry point, such as a reverse p-invoke. Any more detailed purpose is unknown by the runtime. |
CODE_INVOKE_PURPOSE_CLASS_INIT |
The managed code will run a static constructor. |
CODE_INVOKE_PURPOSE_INTERFACE_DISPATCH |
The managed code will run the implementation for some interface method that was called. |
Remarks
This enumeration is used by the ICorDebugProcess6::GetExportStepInfo method to provide information about stepping through managed code.
Note
This enumeration is intended for use in .NET Native debugging scenarios only.
Requirements
Platforms: See .NET supported operating systems.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET versions: Available since .NET Framework 4.6