IDkmManagedHeapSampler.GetSampledHeapData Method

Definition

Returns the next requested portion of serialized object graph data.

public:
 cli::array <System::Byte> ^ GetSampledHeapData(Microsoft::VisualStudio::Debugger::Clr::DkmManagedHeapSampler ^ managedHeapSampler, System::UInt32 requestCount);
public byte[] GetSampledHeapData (Microsoft.VisualStudio.Debugger.Clr.DkmManagedHeapSampler managedHeapSampler, uint requestCount);
public byte[]? GetSampledHeapData (Microsoft.VisualStudio.Debugger.Clr.DkmManagedHeapSampler managedHeapSampler, uint requestCount);
abstract member GetSampledHeapData : Microsoft.VisualStudio.Debugger.Clr.DkmManagedHeapSampler * uint32 -> byte[]
Public Function GetSampledHeapData (managedHeapSampler As DkmManagedHeapSampler, requestCount As UInteger) As Byte()

Parameters

managedHeapSampler
DkmManagedHeapSampler

[In] DkmManagedHeapSampler represents a sampler for objects in the managed heap.

requestCount
UInt32

[In] Count of items requested.

Returns

Byte[]

[Out] Sampled heap data.

Applies to