Condividi tramite


IsolatedWindowsEnvironment.LaunchFileWithUIAsync Metodo

Definizione

Overload

LaunchFileWithUIAsync(String, String, String)

Deprecato. Consente alle applicazioni di aprire file in un ambiente Windows isolato.

LaunchFileWithUIAsync(String, String, String, IsolatedWindowsEnvironmentTelemetryParameters)

Deprecato. Consente alle applicazioni di aprire file in un ambiente Windows isolato con correlazione di telemetria.

LaunchFileWithUIAsync(String, String, String)

Deprecato. Consente alle applicazioni di aprire file in un ambiente Windows isolato.

public:
 virtual IAsyncOperation<IsolatedWindowsEnvironmentLaunchFileResult ^> ^ LaunchFileWithUIAsync(Platform::String ^ appExePath, Platform::String ^ argumentsTemplate, Platform::String ^ filePath) = LaunchFileWithUIAsync;
/// [Windows.Foundation.Metadata.Overload("LaunchFileWithUIAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IsolatedWindowsEnvironmentLaunchFileResult> LaunchFileWithUIAsync(winrt::hstring const& appExePath, winrt::hstring const& argumentsTemplate, winrt::hstring const& filePath);
/// [Windows.Foundation.Metadata.Overload("LaunchFileWithUIAsync")]
/// [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<IsolatedWindowsEnvironmentLaunchFileResult> LaunchFileWithUIAsync(winrt::hstring const& appExePath, winrt::hstring const& argumentsTemplate, winrt::hstring const& filePath);
[Windows.Foundation.Metadata.Overload("LaunchFileWithUIAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IsolatedWindowsEnvironmentLaunchFileResult> LaunchFileWithUIAsync(string appExePath, string argumentsTemplate, string filePath);
[Windows.Foundation.Metadata.Overload("LaunchFileWithUIAsync")]
[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<IsolatedWindowsEnvironmentLaunchFileResult> LaunchFileWithUIAsync(string appExePath, string argumentsTemplate, string filePath);
function launchFileWithUIAsync(appExePath, argumentsTemplate, filePath)
Public Function LaunchFileWithUIAsync (appExePath As String, argumentsTemplate As String, filePath As String) As IAsyncOperation(Of IsolatedWindowsEnvironmentLaunchFileResult)

Parametri

appExePath
String

Platform::String

winrt::hstring

Stringa del percorso di esecuzione dell'applicazione.

argumentsTemplate
String

Platform::String

winrt::hstring

Stringa per specificare la posizione relativa del filepath rispetto ad altri argomenti da passare: "%1 /foo" eseguirà l'avvio del file come "appname.exe fileapth /foo" nel contenitore %1 viene sostituito da filepath "/foo %1" = "appname.exe /foo filepath" "/foo %1 /bar" =>> "appname.exe /foo filepath /bar"

filePath
String

Platform::String

winrt::hstring

Stringa per l'apertura del percorso del file in Ambiente Windows isolato.

Restituisce

IsolatedWindowsEnvironmentLaunchFileResult

Attributi

Commenti

Avviso

Si tratta di un'API deprecata.

Si applica a

LaunchFileWithUIAsync(String, String, String, IsolatedWindowsEnvironmentTelemetryParameters)

Deprecato. Consente alle applicazioni di aprire file in un ambiente Windows isolato con correlazione di telemetria.

public:
 virtual IAsyncOperation<IsolatedWindowsEnvironmentLaunchFileResult ^> ^ LaunchFileWithUIAsync(Platform::String ^ appExePath, Platform::String ^ argumentsTemplate, Platform::String ^ filePath, IsolatedWindowsEnvironmentTelemetryParameters ^ telemetryParameters) = LaunchFileWithUIAsync;
/// [Windows.Foundation.Metadata.Overload("LaunchFileWithUIAndTelemetryAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IsolatedWindowsEnvironmentLaunchFileResult> LaunchFileWithUIAsync(winrt::hstring const& appExePath, winrt::hstring const& argumentsTemplate, winrt::hstring const& filePath, IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters);
/// [Windows.Foundation.Metadata.Overload("LaunchFileWithUIAndTelemetryAsync")]
/// [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<IsolatedWindowsEnvironmentLaunchFileResult> LaunchFileWithUIAsync(winrt::hstring const& appExePath, winrt::hstring const& argumentsTemplate, winrt::hstring const& filePath, IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters);
[Windows.Foundation.Metadata.Overload("LaunchFileWithUIAndTelemetryAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IsolatedWindowsEnvironmentLaunchFileResult> LaunchFileWithUIAsync(string appExePath, string argumentsTemplate, string filePath, IsolatedWindowsEnvironmentTelemetryParameters telemetryParameters);
[Windows.Foundation.Metadata.Overload("LaunchFileWithUIAndTelemetryAsync")]
[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<IsolatedWindowsEnvironmentLaunchFileResult> LaunchFileWithUIAsync(string appExePath, string argumentsTemplate, string filePath, IsolatedWindowsEnvironmentTelemetryParameters telemetryParameters);
function launchFileWithUIAsync(appExePath, argumentsTemplate, filePath, telemetryParameters)
Public Function LaunchFileWithUIAsync (appExePath As String, argumentsTemplate As String, filePath As String, telemetryParameters As IsolatedWindowsEnvironmentTelemetryParameters) As IAsyncOperation(Of IsolatedWindowsEnvironmentLaunchFileResult)

Parametri

appExePath
String

Platform::String

winrt::hstring

Stringa del percorso di esecuzione dell'applicazione.

argumentsTemplate
String

Platform::String

winrt::hstring

Stringa per specificare la posizione relativa del filepath rispetto ad altri argomenti da passare: "%1 /foo" eseguirà l'avvio del file come "appname.exe fileapth /foo" nel contenitore %1 viene sostituito da filepath "/foo %1" = "appname.exe /foo filepath" "/foo %1 /bar" =>> "appname.exe /foo filepath /bar"

filePath
String

Platform::String

winrt::hstring

Stringa per l'apertura del percorso del file nell'ambiente Windows isolato

Restituisce

IsolatedWindowsEnvironmentLaunchFileResult

Attributi

Commenti

Avviso

Si tratta di un'API deprecata.

Si applica a