DeviceStatistics.FlushInterval Property (POS for .NET v1.12 SDK Documentation)
2/27/2008
Contains the interval used by POS for .NET to determine when to update the device's XML statistics file with the current statistics values.
Namespace: Microsoft.PointOfService.BaseServiceObjects
Assembly: Microsoft.PointOfService.ControlBase (in microsoft.pointofservice.controlbase.dll)
Syntax
'Declaration
Public Property FlushInterval As Integer
public int FlushInterval { get; set; }
public:
property int FlushInterval {
int get ();
void set (int value);
}
/** @property */
public int get_FlushInterval ()
/** @property */
public void set_FlushInterval (int value)
public function get FlushInterval () : int
public function set FlushInterval (value : int)
Remarks
FlushInterval is initialized to Infinite (-1), indicating that automatic flushing, or saving, of statistics to the device’s statistics file is turned off. When the application claims or enables the device, POS for .NET sets FlushInterval to the global flush interval value stored during system setup, thus enabling automatic flushing. When the application sets the DeviceEnabled property to false, FlushInterval is set back to Infinite.
Accessing FlushInterval may throw a PosControlException with the following values:
Value |
Description |
Illegal |
The value specified was less than 0 (zero) but not set to Infinite. |
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
DeviceStatistics Class
DeviceStatistics Members
Microsoft.PointOfService.BaseServiceObjects Namespace