CoreWebView2DedicatedWorker Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public class CoreWebView2DedicatedWorker
type CoreWebView2DedicatedWorker = class
Public Class CoreWebView2DedicatedWorker
- Inheritance
-
CoreWebView2DedicatedWorker
Properties
ScriptUri |
A string representing the Uri of the script that the worker is executing.
|
Methods
PostWebMessageAsJson(String) |
Posts the specified webMessageAsJson to this worker.
The worker receives the message by subscribing to the
|
PostWebMessageAsString(String) |
Posts a message that is a simple string rather than a JSON string
representation of a JavaScript object. This behaves exactly the same
manner as |
Events
DedicatedWorkerCreated |
Subscribe to this event that gets raised when a new dedicated worker is created from a dedicated worker.
|
Destroying |
Add an event handler for the
|
WebMessageReceived |
Add an event handler for the
|