Share via


BumpBar.AutoToneDuration Property

2/27/2008

Gets or sets the duration of the automatic tone.

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

Syntax

'Declaration
Public MustOverride Property AutoToneDuration As Integer
public abstract int AutoToneDuration { get; set; }
public:
virtual property int AutoToneDuration {
    int get () abstract;
    void set (int value) abstract;
}
/** @property */
public abstract int get_AutoToneDuration ()

/** @property */
public abstract void set_AutoToneDuration (int value)
public abstract function get AutoToneDuration () : int

public abstract function set AutoToneDuration (value : int)

Remarks

Sets the duration (in milliseconds) of the automatic tone for the bump bar unit specified by the CurrentUnitId property.

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

When it is accessed, AutoToneDuration may cause a PosControlException to be thrown with the following ErrorCodes.

Value

Meaning

Illegal

An illegal value was specified. The ErrorCodeExtended property is updated before return.

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

BumpBar Class
BumpBar Members
Microsoft.PointOfService Namespace
CurrentUnitId\
AutoToneFrequency
BumpBar.BumpBarSound Method