共用方式為


IsolatedWindowsEnvironment.ShareFolderAsync 方法

定義

多載

ShareFolderAsync(String, IsolatedWindowsEnvironmentShareFolderRequestOptions)

已取代。 使用隔離的 Windows 環境共用主資料夾。

ShareFolderAsync(String, IsolatedWindowsEnvironmentShareFolderRequestOptions, IsolatedWindowsEnvironmentTelemetryParameters)

已取代。 具有遙測相互關聯之隔離 Windows 環境的共享資料夾。

ShareFolderAsync(String, IsolatedWindowsEnvironmentShareFolderRequestOptions)

已取代。 使用隔離的 Windows 環境共用主資料夾。

public:
 virtual IAsyncOperation<IsolatedWindowsEnvironmentShareFolderResult ^> ^ ShareFolderAsync(Platform::String ^ hostFolder, IsolatedWindowsEnvironmentShareFolderRequestOptions ^ requestOptions) = ShareFolderAsync;
/// [Windows.Foundation.Metadata.Overload("ShareFolderAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IsolatedWindowsEnvironmentShareFolderResult> ShareFolderAsync(winrt::hstring const& hostFolder, IsolatedWindowsEnvironmentShareFolderRequestOptions const& requestOptions);
/// [Windows.Foundation.Metadata.Overload("ShareFolderAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [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")]
IAsyncOperation<IsolatedWindowsEnvironmentShareFolderResult> ShareFolderAsync(winrt::hstring const& hostFolder, IsolatedWindowsEnvironmentShareFolderRequestOptions const& requestOptions);
[Windows.Foundation.Metadata.Overload("ShareFolderAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IsolatedWindowsEnvironmentShareFolderResult> ShareFolderAsync(string hostFolder, IsolatedWindowsEnvironmentShareFolderRequestOptions requestOptions);
[Windows.Foundation.Metadata.Overload("ShareFolderAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
[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 IAsyncOperation<IsolatedWindowsEnvironmentShareFolderResult> ShareFolderAsync(string hostFolder, IsolatedWindowsEnvironmentShareFolderRequestOptions requestOptions);
function shareFolderAsync(hostFolder, requestOptions)
Public Function ShareFolderAsync (hostFolder As String, requestOptions As IsolatedWindowsEnvironmentShareFolderRequestOptions) As IAsyncOperation(Of IsolatedWindowsEnvironmentShareFolderResult)

參數

hostFolder
String

Platform::String

winrt::hstring

主資料夾名稱。

傳回

IsolatedWindowsEnvironmentShareFolderResult

屬性

備註

警告

這是已被取代的 API。

適用於

ShareFolderAsync(String, IsolatedWindowsEnvironmentShareFolderRequestOptions, IsolatedWindowsEnvironmentTelemetryParameters)

已取代。 具有遙測相互關聯之隔離 Windows 環境的共享資料夾。

public:
 virtual IAsyncOperation<IsolatedWindowsEnvironmentShareFolderResult ^> ^ ShareFolderAsync(Platform::String ^ hostFolder, IsolatedWindowsEnvironmentShareFolderRequestOptions ^ requestOptions, IsolatedWindowsEnvironmentTelemetryParameters ^ telemetryParameters) = ShareFolderAsync;
/// [Windows.Foundation.Metadata.Overload("ShareFolderWithTelemetryAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IsolatedWindowsEnvironmentShareFolderResult> ShareFolderAsync(winrt::hstring const& hostFolder, IsolatedWindowsEnvironmentShareFolderRequestOptions const& requestOptions, IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters);
/// [Windows.Foundation.Metadata.Overload("ShareFolderWithTelemetryAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [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")]
IAsyncOperation<IsolatedWindowsEnvironmentShareFolderResult> ShareFolderAsync(winrt::hstring const& hostFolder, IsolatedWindowsEnvironmentShareFolderRequestOptions const& requestOptions, IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters);
[Windows.Foundation.Metadata.Overload("ShareFolderWithTelemetryAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IsolatedWindowsEnvironmentShareFolderResult> ShareFolderAsync(string hostFolder, IsolatedWindowsEnvironmentShareFolderRequestOptions requestOptions, IsolatedWindowsEnvironmentTelemetryParameters telemetryParameters);
[Windows.Foundation.Metadata.Overload("ShareFolderWithTelemetryAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
[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 IAsyncOperation<IsolatedWindowsEnvironmentShareFolderResult> ShareFolderAsync(string hostFolder, IsolatedWindowsEnvironmentShareFolderRequestOptions requestOptions, IsolatedWindowsEnvironmentTelemetryParameters telemetryParameters);
function shareFolderAsync(hostFolder, requestOptions, telemetryParameters)
Public Function ShareFolderAsync (hostFolder As String, requestOptions As IsolatedWindowsEnvironmentShareFolderRequestOptions, telemetryParameters As IsolatedWindowsEnvironmentTelemetryParameters) As IAsyncOperation(Of IsolatedWindowsEnvironmentShareFolderResult)

參數

hostFolder
String

Platform::String

winrt::hstring

主資料夾名稱的字串。

傳回

IsolatedWindowsEnvironmentShareFolderResult

屬性

備註

警告

這是已被取代的 API。

適用於