Partager via


IsolatedWindowsEnvironment.GetById(String) Méthode

Définition

Action déconseillée. Retourne une référence à l’environnement Windows isolé en fonction de l’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

Paramètres

environmentId
String

Platform::String

winrt::hstring

ID attribué à un environnement Windows isolé.

Retours

IsolatedWindowsEnvironment

Attributs

Remarques

Avertissement

Il s’agit d’une API déconseillée.

S’applique à