The host may run this to respond with **OK** to confirm, prompt, and beforeunload dialogs. Do not run this method to indicate cancel. From JavaScript, this means that the confirm and beforeunload function returns TRUE if Accept is run. And for the prompt function it returns the value of ResultText if Accept is run and otherwise returns FALSE.
Returns an ICoreWebView2Deferral object. Use this operation to complete the event at a later time.
The second parameter passed to the JavaScript prompt dialog. The result of the prompt JavaScript function uses this value as the default value.
The kind of JavaScript dialog box. alert, confirm, prompt, or beforeunload.
The message of the dialog box. From JavaScript this is the first parameter passed to alert, confirm, and prompt and is empty for beforeunload.
The return value from the JavaScript prompt function if Accept is run. This value is ignored for dialog kinds other than prompt. If Accept is not run, this value is ignored and FALSE is returned from prompt.
The URI of the page that requested the dialog box.
Sets the ResultText property.