PageClientReloadAsync Method |
Version 110.0.300
Reloads given page optionally ignoring the cache.
Namespace:
CefSharp.DevTools.Page
Assembly:
CefSharp (in CefSharp.dll) Version: 110.0.300.0 (110.0.300.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