Share via


Scale.AsyncMode Property

2/27/2008

Indicates whether ReadWeight is 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 ReadWeight method is performed asynchronously.If false, AsyncMode is performed synchronously.

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

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

Scale Class
Scale Members
Microsoft.PointOfService Namespace
Scale.ReadWeight Method