TargetClientDisposeBrowserContextAsync Method |
Version 96.0.142
Deletes a BrowserContext. All the belonging pages will be closed without calling their
beforeunload hooks.
Namespace:
CefSharp.DevTools.Target
Assembly:
CefSharp (in CefSharp.dll) Version: 96.0.142.0 (96.0.142.0)
Syntax public Task<DevToolsMethodResponse> DisposeBrowserContextAsync(
string browserContextId
)
public:
Task<DevToolsMethodResponse^>^ DisposeBrowserContextAsync(
String^ browserContextId
)
Parameters
- browserContextId
- Type: SystemString
browserContextId
Return Value
Type:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also