Datalogic .NET SDK

TimeOut (Event)

 

Syntax

 

public event DecodeTimeOut TimeOut

 

 

Class                           : DecodeEvent

Namespace                : Datalogic.API

Assembly                   : Datalogic.API.DLL

 

 

Description

The Datalogic.API.DecodeEvent.TimeOut delegate is used when the decoder raises a "time out" event.

All methods referenced by Datalogic.API.DecodeEvent.DecodeTimeOut will be invoked after the decoder raises an event.

 

 

Example

   

   private DecodeEvent dcdEvent;

   private DecodeHandle hDcd;

 

   private void MainDlg_Load(object sender, System.EventArgs e)

   {

       hDcd = new DecodeHandle(DecodeDeviceCap.Exists | DecodeDeviceCap.Barcode);

       // Initialize event

       dcdEvent = new DecodeEvent(hDcd, reqType, this);

       dcdEvent.TimeOut += new DecodeTimeOut(dcdEvent_TimeOut);  

   }

 

   // Method to use when the there is a TimeOut event.

   private void dcdEvent_TimeOut(object sender, DecodeEventArgs e)  

   {

      // ...

   }

 

 

 

 

See Also

DecodeTimeOut (Delegate),  Example #021.

 

 

Copyright © Datalogic ADC. All Right Reserved