共用方式為


SmartCardEmulatorApduReceivedEventArgs.TryRespondAsync 方法

定義

多載

TryRespondAsync(IBuffer)

嘗試回應 APDU。

TryRespondAsync(IBuffer, IReference<UInt32>)

嘗試回應 APDU。

TryRespondAsync(IBuffer)

嘗試回應 APDU。

public:
 virtual IAsyncOperation<bool> ^ TryRespondAsync(IBuffer ^ responseApdu) = TryRespondAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryRespondAsync(IBuffer const& responseApdu);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryRespondAsync(IBuffer responseApdu);
function tryRespondAsync(responseApdu)
Public Function TryRespondAsync (responseApdu As IBuffer) As IAsyncOperation(Of Boolean)

參數

responseApdu
IBuffer

包含回應的緩衝區。

傳回

傳回非同步作業,這個作業會在作業完成時傳回布林值。 如果作業成功,則布林值會是 true,否則為 false。

屬性

另請參閱

適用於

TryRespondAsync(IBuffer, IReference<UInt32>)

嘗試回應 APDU。

public:
 virtual IAsyncOperation<bool> ^ TryRespondAsync(IBuffer ^ responseApdu, IReference<unsigned int> ^ nextState) = TryRespondAsync;
/// [Windows.Foundation.Metadata.Overload("TryRespondWithStateAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryRespondAsync(IBuffer const& responseApdu, IReference<uint32_t> const& nextState);
[Windows.Foundation.Metadata.Overload("TryRespondWithStateAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryRespondAsync(IBuffer responseApdu, System.Nullable<uint> nextState);
function tryRespondAsync(responseApdu, nextState)
Public Function TryRespondAsync (responseApdu As IBuffer, nextState As Nullable(Of UInteger)) As IAsyncOperation(Of Boolean)

參數

responseApdu
IBuffer

包含回應的緩衝區。

nextState

IReference<UInt32>

Nullable<UInt32>

Windows.Foundation.IReference<unsigned int>

IReference<uint32_t>

包含下一個狀態的參考。

傳回

傳回非同步作業,這個作業會在作業完成時傳回布林值。 如果作業順利完成,則布林值為 true,否則為 false。

屬性

Windows 需求

裝置系列
Windows Mobile Extension SDK (已於 10.0.10586.0 引進)
API contract
Windows.Devices.SmartCards.SmartCardEmulatorContract (已於 v2.0 引進)

另請參閱

適用於