Pastaba.
Prieigai prie šio puslapio reikalingas įgaliojimas. Galite bandyti prisijungti arba pakeisti katalogus.
Prieigai prie šio puslapio reikalingas įgaliojimas. Galite bandyti pakeisti katalogus.
Defines a transport buffer for method table field information.
Note
This API was originally designed for internal use in the runtime. Although it is now supported for 3rd party use, we recommend working with ICorDebug and ICorProfiler APIs when possible.
Syntax
struct DacpMethodTableFieldData : ZeroInit<DacpMethodTableFieldData>
{
WORD wNumInstanceFields;
WORD wNumStaticFields;
WORD wNumThreadStaticFields;
CLRDATA_ADDRESS FirstField; // If non-null, you can retrieve more
WORD wContextStaticOffset;
WORD wContextStaticsSize;
HRESULT Request(ISOSDacInterface *sos, CLRDATA_ADDRESS addr)
{
return sos->GetMethodTableFieldData(addr, this);
}
};
Members
| Member | Description |
|---|---|
wNumInstanceFields |
The number of instance fields. |
wNumStaticFields |
The number of static fields. |
wNumThreadStaticFields |
The number of thread-static fields. |
FirstField |
The address of the first field. If this member is non-null, you can retrieve more fields. |
wContextStaticOffset |
The context-static field offset. |
wContextStaticsSize |
The size of the context-static fields. |
Request |
Populates the structure from a method table address by calling ISOSDacInterface::GetMethodTableFieldData. |
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.
Requirements
Platforms: See System Requirements.
Header: None
Library: None
.NET Framework Versions: Available since 4.7