Share via


Msr.DataEventEnabled Property

2/27/2008

When set to true by the application, POS for .NET delivers the next event in the event queue.

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

Note that conditions may exist that delay “immediate” delivery: If the FreezeEvents property is set to true, or if the AutoDisable property is set to true and the DeviceEnabled property is set to false.

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

Note: If an error occurs during input processing, the service object queues the error event, but POS for .NET doesn’t deliver it until the application sets DataEventEnabled to true.

DataEventEnabled is typically initialized to false.

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

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