Sdílet prostřednictvím


IsolatedWindowsEnvironmentFile Class

Definition

Deprecated. Runtime class that encapsulates functions for launching a file in an Isolated Windows Environment.

public ref class IsolatedWindowsEnvironmentFile sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 65536)]
class IsolatedWindowsEnvironmentFile final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class IsolatedWindowsEnvironmentFile final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentFile 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 IsolatedWindowsEnvironmentFile final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 65536)]
public sealed class IsolatedWindowsEnvironmentFile
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class IsolatedWindowsEnvironmentFile
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentFile 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 IsolatedWindowsEnvironmentFile
Public NotInheritable Class IsolatedWindowsEnvironmentFile
Inheritance
Object Platform::Object IInspectable IsolatedWindowsEnvironmentFile
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.

Properties

GuestPath

Deprecated. Gets the full guest path of a file.

HostPath

Deprecated. Gets the full host path of a file.

Id

Deprecated. Gets the ID assigned to the host file.

IsReadOnly

Deprecated. Gets the write permission on the file.

Methods

Close()

Deprecated. Call to close a file in the Isolated Windows Environment.

Applies to