Share via


ElectronicJournal.DataEventEnabled Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Gets or sets the Boolean value that indicates whether a DataEvent event is delivered whenever input data is queued.

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 true, a DataEvent is delivered as soon as any input data is queued. If this property is set to true when input data is already in the queue, a DataEvent event is delivered immediately.

Certain conditions may delay immediate delivery, in this case. If the FreezeEvents property is true, or if another event is already being processed by the application, the DataEvent remains queued until the blocking condition is resolved.

If false, input data is queued for delivery to the application. If an input error occurs, the ErrorEvent cannot be not delivered while the DataEventEnabled property is 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

ElectronicJournal Class
ElectronicJournal Members
Microsoft.PointOfService Namespace
DataEvent
ElectronicJournal.DataEventEnabled Property
ErrorEvent