SmartCardTriggerDetails.TryLaunchCurrentAppAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
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)
- NFC スマート カード アプリを作成する (Windows 10 Mobileにのみ適用されます)
適用対象
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
アプリの起動時に使用する動作。
戻り値
アプリが正常に起動したかどうかを示すブール値。
- 属性