Partager via


IsolatedWindowsEnvironmentOptions.ShareHostFolderForUntrustedItems Méthode

Définition

Action déconseillée. Définit SharedFolderNameInEnvironment et SharedHostFolderPath pour configurer le dossier à partager pour le partage d’éléments non approuvés avec l’environnement Windows isolé.

public:
 virtual void ShareHostFolderForUntrustedItems(Platform::String ^ SharedHostFolderPath, Platform::String ^ ShareFolderNameInEnvironment) = ShareHostFolderForUntrustedItems;
void ShareHostFolderForUntrustedItems(winrt::hstring const& SharedHostFolderPath, winrt::hstring const& ShareFolderNameInEnvironment);
/// [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
void ShareHostFolderForUntrustedItems(winrt::hstring const& SharedHostFolderPath, winrt::hstring const& ShareFolderNameInEnvironment);
public void ShareHostFolderForUntrustedItems(string SharedHostFolderPath, string ShareFolderNameInEnvironment);
[Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentOptions 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 void ShareHostFolderForUntrustedItems(string SharedHostFolderPath, string ShareFolderNameInEnvironment);
function shareHostFolderForUntrustedItems(SharedHostFolderPath, ShareFolderNameInEnvironment)
Public Sub ShareHostFolderForUntrustedItems (SharedHostFolderPath As String, ShareFolderNameInEnvironment As String)

Paramètres

SharedHostFolderPath
String

Platform::String

winrt::hstring

Chemin d’accès du dossier hôte partagé.

ShareFolderNameInEnvironment
String

Platform::String

winrt::hstring

Nom du dossier dans l’environnement Windows isolé.

Attributs

Remarques

Avertissement

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

S’applique à