ClaimedBarcodeScanner.ErrorOccurred Ereignis

Definition

Tritt auf, wenn beim Lesen eines Barcodes ein Problem auftritt.

// Register
event_token ErrorOccurred(TypedEventHandler<ClaimedBarcodeScanner, BarcodeScannerErrorOccurredEventArgs const&> const& handler) const;

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

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

Ereignistyp

Gilt für: