次の方法で共有


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 です。

適用対象