IDialogsRepostFormHandler Property |
Namespace: DotNetBrowser.Browser.Dialogs
IHandler<RepostFormParameters, RepostFormResponse> RepostFormHandler { get; set; }
Exception | Condition |
---|---|
ObjectDisposedException | The IBrowser has already been disposed. |
ConnectionClosedException | The connection to the Chromium engine is closed. |
You can use this handler to display a confirmation dialog where you ask the user whether the web page can be reloaded or not.
Use the Repost method to allow resubmitting POST data.
Use the Cancel method to cancel the page reloading.
If the handler throws an exception, the Repost method method will be used.