IsolatedWindowsEnvironmentOptions.ShareHostFolderForUntrustedItems 方法

定義

已取代。 設定 SharedFolderNameInEnvironmentSharedHostFolderPath ,將資料夾設定為與隔離 Windows 環境共用不受信任的項目共用。

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)

參數

SharedHostFolderPath
String

Platform::String

winrt::hstring

共用資料夾的路徑。

ShareFolderNameInEnvironment
String

Platform::String

winrt::hstring

隔離式 Windows 環境中的資料夾名稱。

屬性

備註

警告

這是已被取代的 API。

適用於