Share via


DkmManagedHeapSampler.AnalyzeEventHandlerLeaks(String[]) Method

Definition

Analyze the event handler leaks found on the heap, without returning them. Should be called after the objects walk, and never after the roots walk as the process may have resumed.

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 void AnalyzeEventHandlerLeaks (string[] ExcludedTypes);
member this.AnalyzeEventHandlerLeaks : string[] -> unit
Public Sub AnalyzeEventHandlerLeaks (ExcludedTypes As String())

Parameters

ExcludedTypes
String[]

[In] The types (represented by RegEx expressions) that will be filtered out for the JMC APIs.

Applies to