Share via


CheckScanner.DataEventEnabled Property

2/27/2008

Gets or sets the Boolean value that indicates whether the service object can deliver a queued event.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public MustOverride Property DataEventEnabled As Boolean
public abstract bool DataEventEnabled { get; set; }
public:
virtual property bool DataEventEnabled {
    bool get () abstract;
    void set (bool value) abstract;
}
/** @property */
public abstract boolean get_DataEventEnabled ()

/** @property */
public abstract void set_DataEventEnabled (boolean value)
public abstract function get DataEventEnabled () : boolean

public abstract function set DataEventEnabled (value : boolean)

Remarks

When set to true by the application, the service object can deliver a queued event by raising a DataEvent event.

When DataEventEnabled is set to false by the application, the service object queues input data for later delivery to the application.

Notice that if an error occurs during input processing, the service object queues the error event but does not deliver it until the DataEventEnabled property is set to true.

DataEventEnabled is set by the service object, based on the capabilities of the device.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

CheckScanner Class
CheckScanner Members
Microsoft.PointOfService Namespace
FreezeEvents
DeviceEnabled
CheckScanner.AutoDisable Property
DataEvent