DkmManagedHeapRootInfo(UInt64, GCReferenceType, String, UInt64) 构造函数

定义

初始化新的 DkmManagedHeapRootInfo 值。

         此 API 是在 Visual Studio 12 RTM (VS12RTM) 中引入的。
public:
 DkmManagedHeapRootInfo(System::UInt64 Address, Microsoft::VisualStudio::Debugger::GCReferenceType RootType, System::String ^ RootName, System::UInt64 ExtraData);
public:
 DkmManagedHeapRootInfo(unsigned long long Address, Microsoft::VisualStudio::Debugger::GCReferenceType RootType, Platform::String ^ RootName, unsigned long long ExtraData);
 DkmManagedHeapRootInfo(unsigned long Address, Microsoft::VisualStudio::Debugger::GCReferenceType RootType, std::wstring const & RootName, unsigned long ExtraData);
public DkmManagedHeapRootInfo (ulong Address, Microsoft.VisualStudio.Debugger.GCReferenceType RootType, string RootName, ulong ExtraData);
new Microsoft.VisualStudio.Debugger.Clr.DkmManagedHeapRootInfo : uint64 * Microsoft.VisualStudio.Debugger.GCReferenceType * string * uint64 -> Microsoft.VisualStudio.Debugger.Clr.DkmManagedHeapRootInfo
Public Sub New (Address As ULong, RootType As GCReferenceType, RootName As String, ExtraData As ULong)

参数

Address
UInt64

中对象的地址。

RootType
GCReferenceType

中对象的根类型。

RootName
String

中根对象的名称 (如果可用) 。

ExtraData
UInt64

中CorGCReference 结构的 ExtraData 字段,该字段根据根类型发生变化。 对于从属句柄,这是指向辅助对象的链接。 对于引用计数,这是引用计数。

适用于