IsolatedWindowsEnvironmentProcess Класс

Определение

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

public ref class IsolatedWindowsEnvironmentProcess sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 65536)]
class IsolatedWindowsEnvironmentProcess final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class IsolatedWindowsEnvironmentProcess final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentProcess 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 IsolatedWindowsEnvironmentProcess final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 65536)]
public sealed class IsolatedWindowsEnvironmentProcess
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class IsolatedWindowsEnvironmentProcess
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentProcess 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 IsolatedWindowsEnvironmentProcess
Public NotInheritable Class IsolatedWindowsEnvironmentProcess
Наследование
Object Platform::Object IInspectable IsolatedWindowsEnvironmentProcess
Атрибуты

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

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

Комментарии

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

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

Свойства

ExitCode

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

State

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

Методы

WaitForExit()

Не рекомендуется. Позволяет вызывающей объекту ждать завершения процесса.

WaitForExitAsync()

Не рекомендуется. Позволяет вызывающей объекту ожидать завершения процесса асинхронно.

WaitForExitWithTimeout(UInt32)

Не рекомендуется. Позволяет вызывающей объекту указать время ожидания для завершения процесса.

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