BarcodeScannerProviderConnection.StartSoftwareTriggerRequested Kejadian
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Muncul ketika aplikasi klien mencoba memberi sinyal pemindai kode batang untuk mulai memindai.
// 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)
Jenis Acara
TypedEventHandler<BarcodeScannerProviderConnection,BarcodeScannerStartSoftwareTriggerRequestEventArgs>