Share via


CoinAcceptor.RealTimeDataEnabled Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Gets or sets the Boolean value that indicates whether data is collected in real time.

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

Syntax

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

/** @property */
public abstract void set_RealTimeDataEnabled (boolean value)
public abstract function get RealTimeDataEnabled () : boolean

public abstract function set RealTimeDataEnabled (value : boolean)

Remarks

If true, each data event fired updates the DepositAmount and DepositCounts properties. Otherwise, DepositAmount and DepositCounts are updated with the value of the money collected when FixDeposit is called. Setting RealTimeDataEnabled doesl not cause any change in system behavior until a later BeginDeposit method is performed. This prevents confusion about what would occur if it were modified between a BeginDeposit - EndDeposit pairing.

This property is initialized by the Open method.

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

CoinAcceptor Class
CoinAcceptor Members
Microsoft.PointOfService Namespace
CoinAcceptor.CapRealTimeData Property
CoinAcceptor.DepositAmount Property
CoinAcceptor.DepositCounts Property
CoinAcceptor.BeginDeposit Method
CoinAcceptor.EndDeposit Method
CoinAcceptor.FixDeposit Method