Udostępnij za pośrednictwem


WebView2.Reload Method

Definition

Reloads the current page. Equivalent to calling Reload().

public void Reload ();
member this.Reload : unit -> unit
abstract member Reload : unit -> unit
override this.Reload : unit -> unit
Public Sub Reload ()

Implements

Exceptions

Thrown if CoreWebView2 hasn't been initialized yet, or if the calling thread isn't the thread which created this object (usually the UI thread). See VerifyAccess() for more info. May also be thrown if the browser process has crashed unexpectedly and left the control in an invalid state. We are considering throwing a different type of exception for this case in the future.

Thrown if Dispose(Boolean) has already been called on the control.

Applies to

See also