次の方法で共有


ClaimedBarcodeScanner.ErrorOccurred イベント

定義

バーコードの読み取りに問題がある場合に発生します。

// 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) 

イベントの種類

適用対象