CashChanger.AsyncMode Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Gets or sets a Boolean value that indicates whether CashChanger methods are performed asynchronously.

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

Syntax

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

/** @property */
public abstract void set_AsyncMode (boolean value)
public abstract function get AsyncMode () : boolean

public abstract function set AsyncMode (value : boolean)

Remarks

If true, the DispenseCash and DispenseChange methods are performed asynchronously. If false, DispenseCash and DispenseChange methods are performed synchronously.

The AsyncMode property is set and kept current by the service object while the device is enabled.

When the AsyncMode property is set, the following value is put in the ErrorCode property.

Value

Meaning

Success

The AsyncMode property was set successfully.

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

CashChanger Class
CashChanger Members
Microsoft.PointOfService Namespace
CashChanger.DispenseCash Method
CashChanger.DispenseChange Method
AsyncResultCode
AsyncResultCodeExtended