PageClientReloadAsync Method |
Version 90.6.50
Reloads given page optionally ignoring the cache.
Namespace:
CefSharp.DevTools.Page
Assembly:
CefSharp (in CefSharp.dll) Version: 90.6.50.0 (90.6.50.0)
Syntax public Task<DevToolsMethodResponse> ReloadAsync(
Nullable<bool> ignoreCache = null,
string scriptToEvaluateOnLoad = null
)
public:
Task<DevToolsMethodResponse^>^ ReloadAsync(
Nullable<bool> ignoreCache = nullptr,
String^ scriptToEvaluateOnLoad = nullptr
)
Parameters
- ignoreCache (Optional)
- Type: SystemNullableBoolean
If true, browser cache is ignored (as if the user pressed Shift+refresh). - scriptToEvaluateOnLoad (Optional)
- Type: SystemString
If set, the script will be injected into all frames of the inspected page after reload.Argument will be ignored if reloading dataURL origin.
Return Value
Type:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also