HeapProfilerClientTakeHeapSnapshotAsync Method |
Version 130.1.90
TakeHeapSnapshot
Namespace: CefSharp.DevTools.HeapProfilerAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<DevToolsMethodResponse> TakeHeapSnapshotAsync(
bool? reportProgress = null,
bool? treatGlobalObjectsAsRoots = null,
bool? captureNumericValue = null,
bool? exposeInternals = null
)
public:
Task<DevToolsMethodResponse^>^ TakeHeapSnapshotAsync(
Nullable<bool> reportProgress = nullptr,
Nullable<bool> treatGlobalObjectsAsRoots = nullptr,
Nullable<bool> captureNumericValue = nullptr,
Nullable<bool> exposeInternals = nullptr
)
Parameters
- reportProgress NullableBoolean (Optional)
- If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken.
- treatGlobalObjectsAsRoots NullableBoolean (Optional)
- If true, a raw snapshot without artificial roots will be generated.Deprecated in favor of `exposeInternals`.
- captureNumericValue NullableBoolean (Optional)
- If true, numerical values are included in the snapshot
- exposeInternals NullableBoolean (Optional)
- If true, exposes internals of the snapshot.
Return Value
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also