共用方式為


IsolatedWindowsEnvironment.GetById(String) 方法

定義

已取代。 根據 標識碼傳回隔離式 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 環境的標識碼。

傳回

IsolatedWindowsEnvironment

屬性

備註

警告

這是已被取代的 API。

適用於