Share via


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 です。

適用対象