IsolatedWindowsEnvironment.ShareFileAsync Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
ShareFileAsync(String, IsolatedWindowsEnvironmentShareFileRequestOptions) |
Deprecato. Condividere il file host con ambiente Windows isolato. |
ShareFileAsync(String, IsolatedWindowsEnvironmentShareFileRequestOptions, IsolatedWindowsEnvironmentTelemetryParameters) |
Deprecato. Condividere il file host con ambiente Windows isolato con la correlazione dei dati di telemetria. |
ShareFileAsync(String, IsolatedWindowsEnvironmentShareFileRequestOptions)
Deprecato. Condividere il file host con ambiente Windows isolato.
public:
virtual IAsyncOperation<IsolatedWindowsEnvironmentShareFileResult ^> ^ ShareFileAsync(Platform::String ^ filePath, IsolatedWindowsEnvironmentShareFileRequestOptions ^ options) = ShareFileAsync;
/// [Windows.Foundation.Metadata.Overload("ShareFileAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IsolatedWindowsEnvironmentShareFileResult> ShareFileAsync(winrt::hstring const& filePath, IsolatedWindowsEnvironmentShareFileRequestOptions const& options);
/// [Windows.Foundation.Metadata.Overload("ShareFileAsync")]
/// [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<IsolatedWindowsEnvironmentShareFileResult> ShareFileAsync(winrt::hstring const& filePath, IsolatedWindowsEnvironmentShareFileRequestOptions const& options);
[Windows.Foundation.Metadata.Overload("ShareFileAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IsolatedWindowsEnvironmentShareFileResult> ShareFileAsync(string filePath, IsolatedWindowsEnvironmentShareFileRequestOptions options);
[Windows.Foundation.Metadata.Overload("ShareFileAsync")]
[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<IsolatedWindowsEnvironmentShareFileResult> ShareFileAsync(string filePath, IsolatedWindowsEnvironmentShareFileRequestOptions options);
function shareFileAsync(filePath, options)
Public Function ShareFileAsync (filePath As String, options As IsolatedWindowsEnvironmentShareFileRequestOptions) As IAsyncOperation(Of IsolatedWindowsEnvironmentShareFileResult)
Parametri
- filePath
-
String
Platform::String
winrt::hstring
Stringa del percorso del file host.
Restituisce
IsolatedWindowsEnvironmentShareFileResult
- Attributi
Requisiti Windows
Famiglia di dispositivi |
Windows 10, version 2104 (è stato introdotto in 10.0.20348.0)
|
API contract |
Windows.Security.Isolation.IsolatedWindowsEnvironmentContract (è stato introdotto in v3.0)
|
Commenti
Avviso
Si tratta di un'API deprecata.
Il file condiviso verrà visualizzato in una cartella con un percorso di file generato in modo casuale nell'ambiente Windows isolato che verrà fornito in IsolatedWindowsEnvironmentShareFileResult. Tutti i dati scritti in questa cartella verranno copiati nell'host. È consigliabile impostare il flag AllowWrite su false in IsolatedWindowsEnvironmentShareFileRequestOptions per evitare questo problema.
Si applica a
ShareFileAsync(String, IsolatedWindowsEnvironmentShareFileRequestOptions, IsolatedWindowsEnvironmentTelemetryParameters)
Deprecato. Condividere il file host con ambiente Windows isolato con la correlazione dei dati di telemetria.
public:
virtual IAsyncOperation<IsolatedWindowsEnvironmentShareFileResult ^> ^ ShareFileAsync(Platform::String ^ filePath, IsolatedWindowsEnvironmentShareFileRequestOptions ^ options, IsolatedWindowsEnvironmentTelemetryParameters ^ telemetryParameters) = ShareFileAsync;
/// [Windows.Foundation.Metadata.Overload("ShareFileWithTelemetryAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IsolatedWindowsEnvironmentShareFileResult> ShareFileAsync(winrt::hstring const& filePath, IsolatedWindowsEnvironmentShareFileRequestOptions const& options, IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters);
/// [Windows.Foundation.Metadata.Overload("ShareFileWithTelemetryAsync")]
/// [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<IsolatedWindowsEnvironmentShareFileResult> ShareFileAsync(winrt::hstring const& filePath, IsolatedWindowsEnvironmentShareFileRequestOptions const& options, IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters);
[Windows.Foundation.Metadata.Overload("ShareFileWithTelemetryAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IsolatedWindowsEnvironmentShareFileResult> ShareFileAsync(string filePath, IsolatedWindowsEnvironmentShareFileRequestOptions options, IsolatedWindowsEnvironmentTelemetryParameters telemetryParameters);
[Windows.Foundation.Metadata.Overload("ShareFileWithTelemetryAsync")]
[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<IsolatedWindowsEnvironmentShareFileResult> ShareFileAsync(string filePath, IsolatedWindowsEnvironmentShareFileRequestOptions options, IsolatedWindowsEnvironmentTelemetryParameters telemetryParameters);
function shareFileAsync(filePath, options, telemetryParameters)
Public Function ShareFileAsync (filePath As String, options As IsolatedWindowsEnvironmentShareFileRequestOptions, telemetryParameters As IsolatedWindowsEnvironmentTelemetryParameters) As IAsyncOperation(Of IsolatedWindowsEnvironmentShareFileResult)
Parametri
- filePath
-
String
Platform::String
winrt::hstring
Stringa del percorso del file host.
- telemetryParameters
- IsolatedWindowsEnvironmentTelemetryParameters
Parametri di telemetria definiti da IsolatedWindowsEnvironmentTelemetryParameters
Restituisce
IsolatedWindowsEnvironmentShareFileResult
- Attributi
Requisiti Windows
Famiglia di dispositivi |
Windows 10, version 2104 (è stato introdotto in 10.0.20348.0)
|
API contract |
Windows.Security.Isolation.IsolatedWindowsEnvironmentContract (è stato introdotto in v3.0)
|
Commenti
Avviso
Si tratta di un'API deprecata.
Il file condiviso verrà visualizzato in una cartella con un percorso di file generato in modo casuale nell'ambiente Windows isolato che verrà fornito in IsolatedWindowsEnvironmentShareFileResult. Tutti i dati scritti in questa cartella verranno copiati nell'host. È consigliabile impostare il flag AllowWrite su false in isolatedwindowsenvironmentsharefilerequestoptions per evitare questo problema.