Partager via


IsolatedWindowsEnvironment.ShareFolderAsync Méthode

Définition

Surcharges

ShareFolderAsync(String, IsolatedWindowsEnvironmentShareFolderRequestOptions)

Action déconseillée. Partagez le dossier hôte avec l’environnement Windows isolé.

ShareFolderAsync(String, IsolatedWindowsEnvironmentShareFolderRequestOptions, IsolatedWindowsEnvironmentTelemetryParameters)

Action déconseillée. Partagez le dossier hôte avec l’environnement Windows isolé avec corrélation de télémétrie.

ShareFolderAsync(String, IsolatedWindowsEnvironmentShareFolderRequestOptions)

Action déconseillée. Partagez le dossier hôte avec l’environnement Windows isolé.

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)

Paramètres

hostFolder
String

Platform::String

winrt::hstring

Nom du dossier hôte.

Retours

IsolatedWindowsEnvironmentShareFolderResult

Attributs

Remarques

Avertissement

Il s’agit d’une API déconseillée.

S’applique à

ShareFolderAsync(String, IsolatedWindowsEnvironmentShareFolderRequestOptions, IsolatedWindowsEnvironmentTelemetryParameters)

Action déconseillée. Partagez le dossier hôte avec l’environnement Windows isolé avec corrélation de télémétrie.

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)

Paramètres

hostFolder
String

Platform::String

winrt::hstring

Chaîne du nom du dossier hôte.

telemetryParameters
IsolatedWindowsEnvironmentTelemetryParameters

Paramètres de télémétrie définis par isolatedwindowsenvironmenttelemetryparameters

Retours

IsolatedWindowsEnvironmentShareFolderResult

Attributs

Remarques

Avertissement

Il s’agit d’une API déconseillée.

S’applique à