IsolatedWindowsEnvironment.LaunchFileWithUIAsync Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
LaunchFileWithUIAsync(String, String, String) |
Dihentikan. Memungkinkan aplikasi membuka file di Lingkungan Windows Terisolasi. |
LaunchFileWithUIAsync(String, String, String, IsolatedWindowsEnvironmentTelemetryParameters) |
Dihentikan. Memungkinkan aplikasi membuka file di Lingkungan Windows Terisolasi dengan korelasi telemetri. |
LaunchFileWithUIAsync(String, String, String)
Dihentikan. Memungkinkan aplikasi membuka file di Lingkungan Windows Terisolasi.
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)
Parameter
- appExePath
-
String
Platform::String
winrt::hstring
String jalur eksekusi aplikasi.
- argumentsTemplate
-
String
Platform::String
winrt::hstring
String untuk menentukan posisi relatif filepath sehubungan dengan argumen lain yang akan diteruskan: "%1 /foo" akan menjalankan peluncuran file sebagai "appname.exe fileapth /foo" dalam kontainer %1 digantikan dengan filepath "/foo %1" => "appname.exe /foo filepath" "/foo %1 /bar" => "appname.exe /foo filepath /bar"
- filePath
-
String
Platform::String
winrt::hstring
String untuk jalur file yang akan dibuka di Lingkungan Windows Terisolasi.
Mengembalikan
IsolatedWindowsEnvironmentLaunchFileResult
- Atribut
Keterangan
Peringatan
Ini adalah API yang tidak digunakan lagi.
Berlaku untuk
LaunchFileWithUIAsync(String, String, String, IsolatedWindowsEnvironmentTelemetryParameters)
Dihentikan. Memungkinkan aplikasi membuka file di Lingkungan Windows Terisolasi dengan korelasi telemetri.
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)
Parameter
- appExePath
-
String
Platform::String
winrt::hstring
String jalur eksekusi aplikasi.
- argumentsTemplate
-
String
Platform::String
winrt::hstring
String untuk menentukan posisi relatif filepath sehubungan dengan argumen lain yang akan diteruskan: "%1 /foo" akan menjalankan peluncuran file sebagai "appname.exe fileapth /foo" dalam kontainer %1 digantikan dengan filepath "/foo %1" => "appname.exe /foo filepath" "/foo %1 /bar" => "appname.exe /foo filepath /bar"
- filePath
-
String
Platform::String
winrt::hstring
String untuk jalur file yang akan dibuka di Lingkungan Windows Terisolasi
- telemetryParameters
- IsolatedWindowsEnvironmentTelemetryParameters
Parameter telemetri yang ditentukan oleh isolatedwindowsenvironmenttelemetryparameters
Mengembalikan
IsolatedWindowsEnvironmentLaunchFileResult
- Atribut
Keterangan
Peringatan
Ini adalah API yang tidak digunakan lagi.