ClaimedMagneticStripeReader.ErrorOccurred ClaimedMagneticStripeReader.ErrorOccurred ClaimedMagneticStripeReader.ErrorOccurred ClaimedMagneticStripeReader.ErrorOccurred ClaimedMagneticStripeReader.ErrorOccurred Event

Definition

Occurs when the magnetic stripe reader detects an error when reading a card.

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

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

// Revoke with event_revoker
ErrorOccurred_revoker ErrorOccurred(auto_revoke_t, TypedEventHandler<ClaimedMagneticStripeReader, MagneticStripeReaderErrorOccurredEventArgs> const& handler) const;
public event TypedEventHandler<ClaimedMagneticStripeReader, MagneticStripeReaderErrorOccurredEventArgs> ErrorOccurred
Public Event ErrorOccurred As TypedEventHandler (Of ClaimedMagneticStripeReader, MagneticStripeReaderErrorOccurredEventArgs)
function onErrorOccurred(eventArgs){/* Your code */}


claimedMagneticStripeReader.addEventListener("erroroccurred", onErrorOccurred);
claimedMagneticStripeReader.removeEventListener("erroroccurred", onErrorOccurred);