Compartilhar via


IsolatedWindowsEnvironment.LaunchFileWithUIAsync Método

Definição

Sobrecargas

LaunchFileWithUIAsync(String, String, String)

Preterido. Permite que os aplicativos abram arquivos em um Ambiente Isolado do Windows.

LaunchFileWithUIAsync(String, String, String, IsolatedWindowsEnvironmentTelemetryParameters)

Preterido. Permite que os aplicativos abram arquivos em um Ambiente Isolado do Windows com correlação de telemetria.

LaunchFileWithUIAsync(String, String, String)

Preterido. Permite que os aplicativos abram arquivos em um Ambiente Isolado do Windows.

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)

Parâmetros

appExePath
String

Platform::String

winrt::hstring

Cadeia de caracteres do caminho de execução do aplicativo.

argumentsTemplate
String

Platform::String

winrt::hstring

Cadeia de caracteres para especificar a posição relativa do caminho de arquivo em relação a outros argumentos a serem passados: "%1 /foo" executará a inicialização do arquivo como "appname.exe fileapth /foo" no contêiner %1 é substituído pelo filepath "/foo %1" => "appname.exe /foo filepath" "/foo %1 /bar" => "appname.exe /foo filepath /bar"

filePath
String

Platform::String

winrt::hstring

Cadeia de caracteres para o caminho do arquivo a ser aberto no Ambiente Isolado do Windows.

Retornos

IsolatedWindowsEnvironmentLaunchFileResult

Atributos

Comentários

Aviso

Essa é uma API preterida.

Aplica-se a

LaunchFileWithUIAsync(String, String, String, IsolatedWindowsEnvironmentTelemetryParameters)

Preterido. Permite que os aplicativos abram arquivos em um Ambiente Isolado do Windows com correlação de 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)

Parâmetros

appExePath
String

Platform::String

winrt::hstring

Cadeia de caracteres do caminho de execução do aplicativo.

argumentsTemplate
String

Platform::String

winrt::hstring

Cadeia de caracteres para especificar a posição relativa do caminho de arquivo em relação a outros argumentos a serem passados: "%1 /foo" executará a inicialização do arquivo como "appname.exe fileapth /foo" no contêiner %1 é substituído pelo filepath "/foo %1" => "appname.exe /foo filepath" "/foo %1 /bar" => "appname.exe /foo filepath /bar"

filePath
String

Platform::String

winrt::hstring

Cadeia de caracteres para o caminho do arquivo a ser aberto no Ambiente Isolado do Windows

telemetryParameters
IsolatedWindowsEnvironmentTelemetryParameters

Parâmetros de telemetria definidos por isolatedwindowsenvironmenttelemetryparameters

Retornos

IsolatedWindowsEnvironmentLaunchFileResult

Atributos

Comentários

Aviso

Essa é uma API preterida.

Aplica-se a