DkmManagedHeapSampler.GetNextEventHandlerLeaks(UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attempts to retrieve the value of the next requested portion of the instances of the event handler leaks from the managed heap. Should not be called before the heap walk has completed.
Location constraint: API must be called from an IDE component (component level > 100,000).
This API was introduced in Visual Studio 17 Update 8 (DkmApiVersion.VS17Update8).
public Microsoft.VisualStudio.Debugger.Clr.DkmManagedHeapEventHandlerLeakInfo[] GetNextEventHandlerLeaks (uint Count);
member this.GetNextEventHandlerLeaks : uint32 -> Microsoft.VisualStudio.Debugger.Clr.DkmManagedHeapEventHandlerLeakInfo[]
Public Function GetNextEventHandlerLeaks (Count As UInteger) As DkmManagedHeapEventHandlerLeakInfo()
Parameters
- Count
- UInt32
[In] The number of items requested.
Returns
[Out] The object info of the instances of the event handler leak.