CoreWebView2InitializedEventArgs 类

定义

CoreWebView2Initialized 事件提供数据。

本文档适用于Windows 应用 SDK中适用于 UWP 的 WinUI 2 (,请参阅Windows 应用 SDK命名空间)

public ref class CoreWebView2InitializedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class CoreWebView2InitializedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class CoreWebView2InitializedEventArgs
Public NotInheritable Class CoreWebView2InitializedEventArgs
继承
Object Platform::Object IInspectable CoreWebView2InitializedEventArgs
属性

属性

Exception

获取创建 WebView2 时引发的异常。

本文档适用于Windows 应用 SDK中适用于 UWP 的 WinUI 2 (,请参阅Windows 应用 SDK命名空间)

适用于