Share via


BumpBar.AutoToneDuration Property

Contains the duration of the automatic tone.

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

Usage

'Usage
Dim bumpBar1 As BumpBar

Dim returnValue As Integer
returnValue = bumpBar1.AutoToneDuration

Dim sampleValue As Integer
bumpBar1.AutoToneDuration = sampleValue

Syntax

'Declaration
Public MustOverride Property AutoToneDuration() As Integer
public abstract int AutoToneDuration {get; set;}
public: property virtual Int32 AutoToneDuration{
    Int32 get();
    Void set(Int32);
}
public abstract int get_AutoToneDuration();
public abstract void set_AutoToneDuration(int);
public abstract function get AutoToneDuration() : int;
public abstract function set AutoToneDuration(int);

Remarks

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

AutoToneDuration is typically initialized to the default value for each online bump bar unit when the device is first enabled following the Open method. It should then be kept current by the service object while the device is enabled.

When accessed, AutoToneDuration can throw the following exception:

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.

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

BumpBar Class
BumpBar Members
Microsoft.PointOfService Namespace
CurrentUnitId