Share via


IsolatedWindowsEnvironment Class

Definition

Deprecated. Create and manage Hypervisor-based Isolated Environments for applications to open and process untrusted data in a virtualized environment to protect the host operating system from potentially malicious content in the file.

public ref class IsolatedWindowsEnvironment sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 65536)]
class IsolatedWindowsEnvironment final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class IsolatedWindowsEnvironment final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironment is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
class IsolatedWindowsEnvironment final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 65536)]
public sealed class IsolatedWindowsEnvironment
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class IsolatedWindowsEnvironment
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironment is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
public sealed class IsolatedWindowsEnvironment
Public NotInheritable Class IsolatedWindowsEnvironment
Inheritance
Object Platform::Object IInspectable IsolatedWindowsEnvironment
Attributes

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Security.Isolation.IsolatedWindowsEnvironmentContract (introduced in v2.0)

Remarks

Warning

This is a deprecated API.

Runtime class

Properties

Id

Deprecated. Returns ID for Isolated Windows Environment.

Methods

ChangePriority(IsolatedWindowsEnvironmentCreationPriority)

Deprecated. Allows the caller to set the execution priority of the isolated environment.

CreateAsync(IsolatedWindowsEnvironmentOptions, IsolatedWindowsEnvironmentTelemetryParameters)

Deprecated. Create an Isolated Windows Environment Asynchronously and correlate with telemetry events.

CreateAsync(IsolatedWindowsEnvironmentOptions)

Deprecated. Create an Isolated Windows Environment asynchronously.

FindByOwnerId(String)

Deprecated. Returns a list of Isolated Windows Environments registered to specific owner.

GetById(String)

Deprecated. Returns reference to the Isolated Windows Environment based on the Id.

GetUserInfo()

Deprecated. Since the isolated environment user is different and separate from the host user, a host application may need to know information about the user signed into the isolated environment, such as the username and SID. This API exposes those values without needing to wait for the sign-in process to complete.

LaunchFileWithUIAsync(String, String, String, IsolatedWindowsEnvironmentTelemetryParameters)

Deprecated. Allows applications to open files in an Isolated Windows Environment with telemetry correlation.

LaunchFileWithUIAsync(String, String, String)

Deprecated. Allows applications to open files in an Isolated Windows Environment.

PostMessageToReceiverAsync(Guid, IIterable<Object>, IsolatedWindowsEnvironmentTelemetryParameters)

Deprecated. Post a message from the host to the receiver that is registered on the Isolated Windows Environment side and correlate with telemetry events.

PostMessageToReceiverAsync(Guid, IIterable<Object>)

Deprecated. Post a message from the host to the receiver that is registered on the Isolated Windows Environment side.

RegisterMessageReceiver(Guid, MessageReceivedCallback)

Deprecated. Register message receiver callback.

ShareFileAsync(String, IsolatedWindowsEnvironmentShareFileRequestOptions, IsolatedWindowsEnvironmentTelemetryParameters)

Deprecated. Share host file with Isolated Windows Environment with telemetry correlation.

ShareFileAsync(String, IsolatedWindowsEnvironmentShareFileRequestOptions)

Deprecated. Share host file with Isolated Windows Environment.

ShareFolderAsync(String, IsolatedWindowsEnvironmentShareFolderRequestOptions, IsolatedWindowsEnvironmentTelemetryParameters)

Deprecated. Share host folder with Isolated Windows Environment with telemetry correlation.

ShareFolderAsync(String, IsolatedWindowsEnvironmentShareFolderRequestOptions)

Deprecated. Share host folder with Isolated Windows Environment.

StartProcessSilentlyAsync(String, String, IsolatedWindowsEnvironmentActivator, IsolatedWindowsEnvironmentTelemetryParameters)

Deprecated. Allow processes to execute inside an Isolated Windows Environment with telemetry correlation.

StartProcessSilentlyAsync(String, String, IsolatedWindowsEnvironmentActivator)

Deprecated. Allow processes to execute inside an Isolated Windows Environment.

TerminateAsync()

Deprecated. Terminate Isolated Windows Environment asynchronously.

TerminateAsync(IsolatedWindowsEnvironmentTelemetryParameters)

Deprecated. Terminate Isolated Windows Environment asynchronously with telemetry correlation.

UnregisterMessageReceiver(Guid)

Deprecated. Unregisters message receiver callback.

Applies to