Share via


CoreWebView2InitializedEventArgs.Exception Property

Definition

Gets the exception raised when a WebView2 is created.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property HResult Exception { HResult get(); };
HResult Exception();
public System.Exception Exception { get; }
Public ReadOnly Property Exception As Exception

Property Value

The exception, or null if no exception occurred.

Applies to