Udostępnij za pośrednictwem


WebViewControlProcess Class

Definition

This class represents the process that one or more Windows.Web.UI.Interop.WebViewControl classes will live in.

public ref class WebViewControlProcess sealed
/// [Windows.Foundation.Metadata.Activatable(393216, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Activatable(Windows.Web.UI.Interop.IWebViewControlProcessFactory, 393216, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
class WebViewControlProcess final
[Windows.Foundation.Metadata.Activatable(393216, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Web.UI.Interop.IWebViewControlProcessFactory), 393216, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
public sealed class WebViewControlProcess
function WebViewControlProcess(processOptions)
Public NotInheritable Class WebViewControlProcess
Inheritance
Object Platform::Object IInspectable WebViewControlProcess
Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Constructors

WebViewControlProcess()

Creates an instance of WebViewControlProcess.

WebViewControlProcess(WebViewControlProcessOptions)

Creates an instance of WebViewControlProcess with options.

Properties

EnterpriseId

Gets the enterprise ID of this proces.

IsPrivateNetworkClientServerCapabilityEnabled

Gets a boolean value indicating whether the privateNetworkClientServer capability is enabled in this process.

ProcessId

Gets the ID of this process.

Methods

CreateWebViewControlAsync(Int64, Rect)

Creates a Windows.Web.UI.Interop.WebViewControl within the context of this process.

GetWebViewControls()

Gets a vector containing all the Windows.Web.UI.Interop.WebViewControl objects hosted within this process.

Terminate()

Terminates the process.

Events

ProcessExited

Fires when this process is terminated.

Applies to