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 中引入)

另请参阅

适用于