共用方式為


SmartCardEmulatorApduReceivedEventArgs.TryRespondWithCryptogramsAsync 方法

定義

多載

TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>)

嘗試回應 APDU,並將密碼編譯器放在傳出訊息中,如放置步驟指示。

TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>, IReference<UInt32>)

傳回以作業狀態完成的非同步作業。

TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>)

嘗試回應 APDU,並將密碼編譯器放在傳出訊息中,如放置步驟指示。

public:
 virtual IAsyncOperation<SmartCardCryptogramGeneratorOperationStatus> ^ TryRespondWithCryptogramsAsync(IBuffer ^ responseTemplate, IIterable<SmartCardCryptogramPlacementStep ^> ^ cryptogramPlacementSteps) = TryRespondWithCryptogramsAsync;
/// [Windows.Foundation.Metadata.Overload("TryRespondWithCryptogramsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<SmartCardCryptogramGeneratorOperationStatus> TryRespondWithCryptogramsAsync(IBuffer const& responseTemplate, IIterable<SmartCardCryptogramPlacementStep> const& cryptogramPlacementSteps);
[Windows.Foundation.Metadata.Overload("TryRespondWithCryptogramsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<SmartCardCryptogramGeneratorOperationStatus> TryRespondWithCryptogramsAsync(IBuffer responseTemplate, IEnumerable<SmartCardCryptogramPlacementStep> cryptogramPlacementSteps);
function tryRespondWithCryptogramsAsync(responseTemplate, cryptogramPlacementSteps)
Public Function TryRespondWithCryptogramsAsync (responseTemplate As IBuffer, cryptogramPlacementSteps As IEnumerable(Of SmartCardCryptogramPlacementStep)) As IAsyncOperation(Of SmartCardCryptogramGeneratorOperationStatus)

參數

responseTemplate
IBuffer

包含範本回應的緩衝區。

cryptogramPlacementSteps

IIterable<SmartCardCryptogramPlacementStep>

IEnumerable<SmartCardCryptogramPlacementStep>

包含密碼編譯器步驟的集合。

傳回

傳回以作業狀態完成的非同步作業。

屬性

Windows 需求

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

另請參閱

適用於

TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>, IReference<UInt32>)

傳回以作業狀態完成的非同步作業。

public:
 virtual IAsyncOperation<SmartCardCryptogramGeneratorOperationStatus> ^ TryRespondWithCryptogramsAsync(IBuffer ^ responseTemplate, IIterable<SmartCardCryptogramPlacementStep ^> ^ cryptogramPlacementSteps, IReference<unsigned int> ^ nextState) = TryRespondWithCryptogramsAsync;
/// [Windows.Foundation.Metadata.Overload("TryRespondWithCryptogramsAndStateAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<SmartCardCryptogramGeneratorOperationStatus> TryRespondWithCryptogramsAsync(IBuffer const& responseTemplate, IIterable<SmartCardCryptogramPlacementStep> const& cryptogramPlacementSteps, IReference<uint32_t> const& nextState);
[Windows.Foundation.Metadata.Overload("TryRespondWithCryptogramsAndStateAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<SmartCardCryptogramGeneratorOperationStatus> TryRespondWithCryptogramsAsync(IBuffer responseTemplate, IEnumerable<SmartCardCryptogramPlacementStep> cryptogramPlacementSteps, System.Nullable<uint> nextState);
function tryRespondWithCryptogramsAsync(responseTemplate, cryptogramPlacementSteps, nextState)
Public Function TryRespondWithCryptogramsAsync (responseTemplate As IBuffer, cryptogramPlacementSteps As IEnumerable(Of SmartCardCryptogramPlacementStep), nextState As Nullable(Of UInteger)) As IAsyncOperation(Of SmartCardCryptogramGeneratorOperationStatus)

參數

responseTemplate
IBuffer

包含範本回應的緩衝區。

cryptogramPlacementSteps

IIterable<SmartCardCryptogramPlacementStep>

IEnumerable<SmartCardCryptogramPlacementStep>

包含密碼編譯器步驟的集合。

nextState

IReference<UInt32>

Nullable<UInt32>

Windows.Foundation.IReference

IReference<uint32_t>

包含下一個狀態的參考。

傳回

傳回以作業狀態完成的非同步作業。

屬性

Windows 需求

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

另請參閱

適用於