TargetClientDisposeBrowserContextAsync Method |
Version 91.1.160
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: 91.1.160.0 (91.1.160.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