PointCardRW.DataEventEnabled Property
Indicates whether a DataEvent event is delivered when input data is queued.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Usage
'Usage
Dim pointCardRW1 As PointCardRW
Dim returnValue As Boolean
returnValue = pointCardRW1.DataEventEnabled
Dim sampleValue As Boolean
pointCardRW1.DataEventEnabled = sampleValue
Syntax
'Declaration
Public MustOverride Property DataEventEnabled() As Boolean
public abstract bool DataEventEnabled {get; set;}
public: property virtual Boolean DataEventEnabled{
Boolean get();
Void set(Boolean);
}
public abstract boolean get_DataEventEnabled();
public abstract void set_DataEventEnabled(boolean);
public abstract function get DataEventEnabled() : Boolean;
public abstract function set DataEventEnabled(Boolean);
Remarks
When set to TRUE by the application, the service object can deliver a queued event by firing a DataEvent event. 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 does not deliver it until the application sets DataEventEnabled to TRUE.
DataEventEnabled is typically initialized to FALSE. It should then be kept current by the service object while the device is enabled.
Microsoft.PointOfService.PointCardRW.DataEvent
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.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000
Target Platforms
See Also
Reference
PointCardRW Class
PointCardRW Members
Microsoft.PointOfService Namespace