IsolatedWindowsEnvironmentFile Класс

Определение

Не рекомендуется. Класс среды выполнения, который инкапсулирует функции для запуска файла в изолированной среде Windows.

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
Наследование
Object Platform::Object IInspectable IsolatedWindowsEnvironmentFile
Атрибуты

Требования к Windows

Семейство устройств
Windows 10, version 2004 (появилось в 10.0.19041.0)
API contract
Windows.Security.Isolation.IsolatedWindowsEnvironmentContract (появилось в v2.0)

Комментарии

Предупреждение

Это нерекомендуемый API.

Свойства

GuestPath

Не рекомендуется. Возвращает полный гостевой путь к файлу.

HostPath

Не рекомендуется. Возвращает полный путь к узлу файла.

Id

Не рекомендуется. Возвращает идентификатор, назначенный файлу узла.

IsReadOnly

Не рекомендуется. Возвращает разрешение на запись для файла.

Методы

Close()

Не рекомендуется. Вызовите , чтобы закрыть файл в изолированной среде Windows.

Применяется к