Share via


SmartCardTriggerDetails.TryLaunchCurrentAppAsync 方法

定义

重载

TryLaunchCurrentAppAsync(String)

异步尝试启动当前智能卡应用,传递指定的参数。

TryLaunchCurrentAppAsync(String, SmartCardLaunchBehavior)

使用指定行为异步尝试启动当前智能卡应用,并传递指定的参数。

TryLaunchCurrentAppAsync(String)

异步尝试启动当前智能卡应用,传递指定的参数。

public:
 virtual IAsyncOperation<bool> ^ TryLaunchCurrentAppAsync(Platform::String ^ arguments) = TryLaunchCurrentAppAsync;
/// [Windows.Foundation.Metadata.Overload("TryLaunchCurrentAppAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryLaunchCurrentAppAsync(winrt::hstring const& arguments);
[Windows.Foundation.Metadata.Overload("TryLaunchCurrentAppAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryLaunchCurrentAppAsync(string arguments);
function tryLaunchCurrentAppAsync(arguments)
Public Function TryLaunchCurrentAppAsync (arguments As String) As IAsyncOperation(Of Boolean)

参数

arguments
String

Platform::String

winrt::hstring

一个字符串,指定要在启动时传递给智能卡应用的参数。

返回

一个布尔值,指示应用是否成功启动。

属性

另请参阅

适用于

TryLaunchCurrentAppAsync(String, SmartCardLaunchBehavior)

使用指定行为异步尝试启动当前智能卡应用,并传递指定的参数。

public:
 virtual IAsyncOperation<bool> ^ TryLaunchCurrentAppAsync(Platform::String ^ arguments, SmartCardLaunchBehavior behavior) = TryLaunchCurrentAppAsync;
/// [Windows.Foundation.Metadata.Overload("TryLaunchCurrentAppWithBehaviorAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryLaunchCurrentAppAsync(winrt::hstring const& arguments, SmartCardLaunchBehavior const& behavior);
[Windows.Foundation.Metadata.Overload("TryLaunchCurrentAppWithBehaviorAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryLaunchCurrentAppAsync(string arguments, SmartCardLaunchBehavior behavior);
function tryLaunchCurrentAppAsync(arguments, behavior)
Public Function TryLaunchCurrentAppAsync (arguments As String, behavior As SmartCardLaunchBehavior) As IAsyncOperation(Of Boolean)

参数

arguments
String

Platform::String

winrt::hstring

一个字符串,指定要在启动时传递给智能卡应用的参数。

behavior
SmartCardLaunchBehavior

启动应用时要使用的行为。

返回

一个布尔值,指示应用是否成功启动。

属性

另请参阅

适用于