次の方法で共有


ClaimedMagneticStripeReader.ErrorOccurred イベント

定義

磁気ストライプ リーダーがカードの読み取り時にエラーを検出したときに発生します。

// Register
event_token ErrorOccurred(TypedEventHandler<ClaimedMagneticStripeReader, MagneticStripeReaderErrorOccurredEventArgs const&> const& handler) const;

// Revoke with event_token
void ErrorOccurred(event_token const* cookie) const;

// Revoke with event_revoker
ClaimedMagneticStripeReader::ErrorOccurred_revoker ErrorOccurred(auto_revoke_t, TypedEventHandler<ClaimedMagneticStripeReader, MagneticStripeReaderErrorOccurredEventArgs const&> const& handler) const;
public event TypedEventHandler<ClaimedMagneticStripeReader,MagneticStripeReaderErrorOccurredEventArgs> ErrorOccurred;
function onErrorOccurred(eventArgs) { /* Your code */ }
claimedMagneticStripeReader.addEventListener("erroroccurred", onErrorOccurred);
claimedMagneticStripeReader.removeEventListener("erroroccurred", onErrorOccurred);
- or -
claimedMagneticStripeReader.onerroroccurred = onErrorOccurred;
Public Custom Event ErrorOccurred As TypedEventHandler(Of ClaimedMagneticStripeReader, MagneticStripeReaderErrorOccurredEventArgs) 

イベントの種類

適用対象