IsolatedWindowsEnvironment.ShareFolderAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
主机文件夹的名称。
- requestOptions
- IsolatedWindowsEnvironmentShareFolderRequestOptions
返回
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
主机文件夹名称的字符串。
- requestOptions
- IsolatedWindowsEnvironmentShareFolderRequestOptions
- telemetryParameters
- IsolatedWindowsEnvironmentTelemetryParameters
返回
IsolatedWindowsEnvironmentShareFolderResult
- 属性
注解
警告
这是一个已弃用的 API。