Compartir a través de


IsolatedWindowsEnvironmentOptions.ShareHostFolderForUntrustedItems Método

Definición

Desusado. Establece SharedFolderNameInEnvironment y SharedHostFolderPath para configurar la carpeta que se va a compartir para compartir elementos que no son de confianza con el entorno de Windows aislado.

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)

Parámetros

SharedHostFolderPath
String

Platform::String

winrt::hstring

Ruta de acceso de la carpeta host compartida.

ShareFolderNameInEnvironment
String

Platform::String

winrt::hstring

Nombre de la carpeta en el entorno de Windows aislado.

Atributos

Comentarios

Advertencia

Se trata de una API en desuso.

Se aplica a