IDkmManagedHeapSampler178.GetTotalBytesWastedByEventHandlerLeaks 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.
Returns the total amount of bytes leaked by event handlers on the managed heap. This calculation is separate from the BytesWasted value of each leak info struct. This is because the sub trees of leaks can overlap, leading to double counting retained objects.
public ulong GetTotalBytesWastedByEventHandlerLeaks(Microsoft.VisualStudio.Debugger.Clr.DkmManagedHeapSampler managedHeapSampler);
abstract member GetTotalBytesWastedByEventHandlerLeaks : Microsoft.VisualStudio.Debugger.Clr.DkmManagedHeapSampler -> uint64
Public Function GetTotalBytesWastedByEventHandlerLeaks (managedHeapSampler As DkmManagedHeapSampler) As ULong
Parameters
- managedHeapSampler
- DkmManagedHeapSampler
[In] DkmManagedHeapSampler represents a sampler for objects in the managed heap.
Returns
[Out] The total amount leaked by event handlers.