Share via


IsolatedWindowsEnvironment.GetById(String) Method

Definition

Deprecated. Returns reference to the Isolated Windows Environment based on the Id.

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

Parameters

environmentId
String

Platform::String

winrt::hstring

ID assigned to an Isolated Windows Environment.

Returns

IsolatedWindowsEnvironment
Attributes

Remarks

Warning

This is a deprecated API.

Applies to