BarcodeScannerProviderConnection.StartSoftwareTriggerRequested Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Déclenché lorsque l’application cliente tente de signaler au scanneur de codes-barres de commencer l’analyse.
// Register
event_token StartSoftwareTriggerRequested(TypedEventHandler<BarcodeScannerProviderConnection, BarcodeScannerStartSoftwareTriggerRequestEventArgs const&> const& handler) const;
// Revoke with event_token
void StartSoftwareTriggerRequested(event_token const* cookie) const;
// Revoke with event_revoker
BarcodeScannerProviderConnection::StartSoftwareTriggerRequested_revoker StartSoftwareTriggerRequested(auto_revoke_t, TypedEventHandler<BarcodeScannerProviderConnection, BarcodeScannerStartSoftwareTriggerRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<BarcodeScannerProviderConnection,BarcodeScannerStartSoftwareTriggerRequestEventArgs> StartSoftwareTriggerRequested;
function onStartSoftwareTriggerRequested(eventArgs) { /* Your code */ }
barcodeScannerProviderConnection.addEventListener("startsoftwaretriggerrequested", onStartSoftwareTriggerRequested);
barcodeScannerProviderConnection.removeEventListener("startsoftwaretriggerrequested", onStartSoftwareTriggerRequested);
- or -
barcodeScannerProviderConnection.onstartsoftwaretriggerrequested = onStartSoftwareTriggerRequested;
Public Custom Event StartSoftwareTriggerRequested As TypedEventHandler(Of BarcodeScannerProviderConnection, BarcodeScannerStartSoftwareTriggerRequestEventArgs)
Type d'événement
TypedEventHandler<BarcodeScannerProviderConnection,BarcodeScannerStartSoftwareTriggerRequestEventArgs>