Share via


SmartCardTriggerDetails.TryLaunchCurrentAppAsync Method

Definition

Overloads

TryLaunchCurrentAppAsync(String)

Asynchronously attempts to launch the current smart card app, passing the specified arguments.

TryLaunchCurrentAppAsync(String, SmartCardLaunchBehavior)

Asynchronously attempts to launch the current smart card app using the specified behavior, passing the specified arguments.

TryLaunchCurrentAppAsync(String)

Asynchronously attempts to launch the current smart card app, passing the specified arguments.

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)

Parameters

arguments
String

Platform::String

winrt::hstring

A string specifying the arguments to pass to the smart card app at launch.

Returns

A Boolean value indicating if the app launched successfully.

Attributes

See also

Applies to

TryLaunchCurrentAppAsync(String, SmartCardLaunchBehavior)

Asynchronously attempts to launch the current smart card app using the specified behavior, passing the specified arguments.

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)

Parameters

arguments
String

Platform::String

winrt::hstring

A string specifying the arguments to pass to the smart card app at launch.

behavior
SmartCardLaunchBehavior

The behavior to use when launching the app.

Returns

A Boolean value indicating if the app launched successfully.

Attributes

See also

Applies to