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
)
public:
Task<DevToolsMethodResponse^>^ TakeHeapSnapshotAsync(
Nullable<bool> reportProgress = nullptr,
Nullable<bool> treatGlobalObjectsAsRoots = nullptr
)
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:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also