PageClientReloadAsync Method |
Version 118.6.80
Reloads given page optionally ignoring the cache.
Namespace:
CefSharp.DevTools.Page
Assembly:
CefSharp.Core (in CefSharp.Core.dll) Version: 118.6.80.0
Syntax public Task<DevToolsMethodResponse> ReloadAsync(
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