Click or drag to resize

HeapProfilerClientTakeHeapSnapshotAsync Method

Version 89.0.170
TakeHeapSnapshot

Namespace:  CefSharp.DevTools.HeapProfiler
Assembly:  CefSharp (in CefSharp.dll) Version: 89.0.170.0 (89.0.170.0)
Syntax
public Task<DevToolsMethodResponse> TakeHeapSnapshotAsync(
	Nullable<bool> reportProgress = null,
	Nullable<bool> treatGlobalObjectsAsRoots = null
)

Parameters

reportProgress (Optional)
Type: SystemNullableBoolean
If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken.
treatGlobalObjectsAsRoots (Optional)
Type: SystemNullableBoolean
If true, a raw snapshot without artifical roots will be generated

Return Value

Type: TaskDevToolsMethodResponse
returns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also