DkmManagedHeapSampler.AnalyzeEventHandlerLeaks(String[]) 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.
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.