DacpReJitData StructureDacpReJitData Structure

定義指定分析工具檢測方法的基本資訊。Defines the basic information about a given profiler-instrumented method.

注意

此 API,原本專為在執行階段內部使用。This API was originally designed for internal use in the runtime. 雖然它現在支援用於第 3 個合作對象,但我們建議使用 ICorDebug ICorProfiler 盡可能的 Api。Although it is now supported for 3rd party use, we recommend working with ICorDebug and ICorProfiler APIs when possible.

語法Syntax

struct MSLAYOUT DacpReJitData
{
    enum Flags
    {
        kUnknown,
        kRequested,
        kActive,
        kReverted,
    };

    CLRDATA_ADDRESS                 rejitID;
    Flags                           flags;
    CLRDATA_ADDRESS                 NativeCodeAddr;
};

成員Members

memberMember 描述Description
rejitID 方法的 ReJit 修訂編號。The ReJit revision number for a method.
flags 旗標,表示指定版本之方法 ReJit 檢測的目前狀態。A flag indicating the current state of the method's ReJit instrumentation for the given version.
NativeCodeAddr 方法的 rejitted 實址的基底位址。The base address of the method's rejitted implementation.

備註Remarks

此結構存在於執行時間內,且不會透過任何標頭或程式庫檔案來公開。This structure lives inside the runtime and is not exposed through any headers or library files. 若要使用它,請依照上述指定的方式定義結構。To use it, define the structure as specified above. 如果不使用 Microsoft 編譯器,也必須使用封裝來定義結構 ms_structThe structure must also be defined using ms_struct packing if not using the Microsoft compilers.

規格需求Requirements

平台: 請參閱 系統需求Platforms: See System Requirements.
標頭: 沒有Header: None
連結 庫: 沒有Library: None
.NET Framework 版本:自 4.7 起可用Available since 4.7.NET Framework Versions: 自 4.7 起可用Available since 4.7

另請參閱See also