HeapProfilerClientTakeHeapSnapshotAsync Method |
Version 108.4.130
TakeHeapSnapshot
Namespace:
CefSharp.DevTools.HeapProfiler
Assembly:
CefSharp (in CefSharp.dll) Version: 108.4.130.0 (108.4.130.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 (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 artificial roots will be generated.Deprecated in favor of `exposeInternals`. - captureNumericValue (Optional)
- Type: SystemNullableBoolean
If true, numerical values are included in the snapshot - exposeInternals (Optional)
- Type: SystemNullableBoolean
If true, exposes internals of the snapshot.
Return Value
Type:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also