Share via


BumpBar.AutoToneFrequency Property

2/27/2008

Gets or sets the frequency of the automatic tone.

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

Syntax

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

/** @property */
public abstract void set_AutoToneFrequency (int value)
public abstract function get AutoToneFrequency () : int

public abstract function set AutoToneFrequency (value : int)

Remarks

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

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

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

Value

Meaning

Illegal

An illegal value was specified. The DeviceErrorEventArgs.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
BumpBar.AutoToneDuration Property
BumpBar.BumpBarSound Method