Partager via


SmartCardEmulatorApduReceivedEventArgs.TryRespondAsync Méthode

Définition

Surcharges

TryRespondAsync(IBuffer)

Tente de répondre à une API.

TryRespondAsync(IBuffer, IReference<UInt32>)

Tente de répondre à une API.

TryRespondAsync(IBuffer)

Tente de répondre à une API.

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)

Paramètres

responseApdu
IBuffer

Mémoire tampon contenant la réponse.

Retours

Retourne une opération asynchrone qui retourne une valeur booléenne à la fin de l’opération indiquant. La valeur booléenne est true si l’opération a réussi et false dans le cas contraire.

Attributs

Voir aussi

S’applique à

TryRespondAsync(IBuffer, IReference<UInt32>)

Tente de répondre à une API.

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)

Paramètres

responseApdu
IBuffer

Mémoire tampon contenant la réponse.

nextState

IReference<UInt32>

Nullable<UInt32>

Windows.Foundation.IReference

IReference<uint32_t>

Référence contenant l’état suivant.

Retours

Retourne une opération asynchrone qui retourne une valeur booléenne à la fin de l’opération. La valeur booléenne est true si l’opération s’est terminée correctement et false dans le cas contraire.

Attributs

Configuration requise pour Windows

Famille d’appareils
Windows Mobile Extension SDK (introduit dans 10.0.10586.0)
API contract
Windows.Devices.SmartCards.SmartCardEmulatorContract (introduit dans v2.0)

Voir aussi

S’applique à