Share via


Scale.AsyncMode Property

Indicates whether ReadWeight is asynchronous.

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

Usage

'Usage
Dim scale1 As Scale

Dim returnValue As Boolean
returnValue = scale1.AsyncMode

Dim sampleValue As Boolean
scale1.AsyncMode = sampleValue

Syntax

'Declaration
Public MustOverride Property AsyncMode() As Boolean
public abstract bool AsyncMode {get; set;}
public: property virtual Boolean AsyncMode{
    Boolean get();
    Void set(Boolean);
}
public abstract boolean get_AsyncMode();
public abstract void set_AsyncMode(boolean);
public abstract function get AsyncMode() : Boolean;
public abstract function set AsyncMode(Boolean);

Remarks

If TRUE, the ReadWeight method is performed asynchronously.If FALSE, AsyncMode is performed synchronously.

AsyncMode is typically initialized to FALSE. It should then be 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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

See Also

Reference

Scale Class
Scale Members
Microsoft.PointOfService Namespace
ReadWeight