MSWebViewProcess object
Note
The features described in this document are no longer being maintained. For more information on the new WebView2 control, see Introduction to Microsoft Edge WebView2 (Preview).
Represents a webview process.
var wvprocess = new MSWebViewProcess();
Properties
enterpriseId
The enterprise ID of the process.
var enterpriseId = wvprocess.enterpriseId;
This property is read-only.
Property value
Type: DOMString
isPrivateNetworkClientServerCapabilityEnabled
Gets a value indicating whether the webview process has the Private Networks (Client & Server) Universal Windows App capability declaration enabled in the app manifest.
var privateNetwork = wvprocess.isPrivateNetworkClientServerCapabilityEnabled;
This property is read-only.
Property value
Type: Boolean
Methods
CreateWebViewAsync
Creates a webview in a specific process.
wvprocess.createWebviewAsync();
Return value
Type: Promise<MSHTMLWebViewElement>
GetWebViews
Returns a sequence of MSWebViewProcess objects hosted within the process.
Return value
Type: sequence<MSHTMLWebViewElement>
Terminate
Terminates the process.
wvprocess.terminate();
Return value
This method does not return a value.