Compartilhar via


CoreWebView2WebMessageReceivedEventArgs Class

Definition

Event args for the WebMessageReceived event.

public class CoreWebView2WebMessageReceivedEventArgs
public class CoreWebView2WebMessageReceivedEventArgs : EventArgs
type CoreWebView2WebMessageReceivedEventArgs = class
type CoreWebView2WebMessageReceivedEventArgs = class
    inherit EventArgs
Public Class CoreWebView2WebMessageReceivedEventArgs
Public Class CoreWebView2WebMessageReceivedEventArgs
Inherits EventArgs
Inheritance
CoreWebView2WebMessageReceivedEventArgs
Inheritance
CoreWebView2WebMessageReceivedEventArgs

Properties

AdditionalObjects

Additional received WebMessage objects.

Source

Gets the URI of the document that sent this web message.

WebMessageAsJson

Gets the message posted from the WebView content to the host converted to a JSON string.

Methods

Finalize()
TryGetWebMessageAsString()

Gets the message posted from the WebView content to the host as a string. The message posted from the WebView content to the host.The message posted is some other kind of JavaScript type.

Applies to