IsolatedWindowsEnvironment.GetById(String) 方法

定义

已弃用。 基于 ID 返回对独立 Windows 环境的引用。

public:
 static IsolatedWindowsEnvironment ^ GetById(Platform::String ^ environmentId);
 static IsolatedWindowsEnvironment GetById(winrt::hstring const& environmentId);
/// [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")]
 static IsolatedWindowsEnvironment GetById(winrt::hstring const& environmentId);
public static IsolatedWindowsEnvironment GetById(string environmentId);
[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 static IsolatedWindowsEnvironment GetById(string environmentId);
function getById(environmentId)
Public Shared Function GetById (environmentId As String) As IsolatedWindowsEnvironment

参数

environmentId
String

Platform::String

winrt::hstring

分配给独立 Windows 环境的 ID。

返回

IsolatedWindowsEnvironment

属性

注解

警告

这是一个已弃用的 API。

适用于