SmartCardEmulatorApduReceivedEventArgs.TryRespondAsync Method

Definition

Overloads

TryRespondAsync(IBuffer)

Attempts to respond to an APDU.

TryRespondAsync(IBuffer, IReference<UInt32>)

Attempts to respond to an APDU.

TryRespondAsync(IBuffer)

Attempts to respond to an 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)

Parameters

responseApdu
IBuffer

A buffer containing the response.

Returns

Returns an asynchronous operation that returns a boolean when the operation completes indicating. The boolean will be true if the operation was successful and false otherwise.

Attributes

See also

Applies to

TryRespondAsync(IBuffer, IReference<UInt32>)

Attempts to respond to an 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)

Parameters

responseApdu
IBuffer

A buffer containing the response.

nextState

IReference<UInt32>

Nullable<UInt32>

Windows.Foundation.IReference

IReference<uint32_t>

A reference containing the next state.

Returns

Returns an asynchronous operation that returns a boolean when the operation completes. The boolean is true if the operation completed successfully and false otherwise.

Attributes

Windows requirements

Device family
Windows Mobile Extension SDK (introduced in 10.0.10586.0)
API contract
Windows.Devices.SmartCards.SmartCardEmulatorContract (introduced in v2.0)

See also

Applies to