Share via


CoreWebView2InitializedEventArgs.Exception Property

Definition

Gets the exception raised when a WebView2 is created.

public:
 property HResult Exception { HResult get(); };
HResult Exception();
public System.Exception Exception { get; }
var hResult = coreWebView2InitializedEventArgs.exception;
Public ReadOnly Property Exception As Exception

Property Value

The exception, or null if no exception occurred.

Applies to